It's not a secret anymore!*
The moose likes Tomcat and the fly likes Out of memory error Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » Tomcat
Bookmark "Out of memory error" Watch "Out of memory error" New topic
Author

Out of memory error

S M Narayan
Greenhorn

Joined: Sep 29, 2003
Posts: 3
How does I resolve the out of memory errors in tomcat as this comes up after 4 or 5 times of reload of the application.
somkiat puisungnoen
Ranch Hand

Joined: Jul 04, 2003
Posts: 1312
็How many size of your server's memory?


SCJA,SCJP,SCWCD,SCBCD,SCEA I
Java Developer, Thailand
Lasse Koskela
author
Sheriff

Joined: Jan 23, 2002
Posts: 11962
    
    5
The amount of memory the server has should not have anything to do with the apparent memory leak in reloading web applications.


Author of Test Driven (2007) and Effective Unit Testing (2013) [Blog] [HowToAskQuestionsOnJavaRanch]
Surasak Leenapongpanit
Ranch Hand

Joined: May 10, 2002
Posts: 341
Check this Tomcat FAQ: Memory for promblems solving about out of memory.
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: Out of memory error
 
Similar Threads
can finally block won't execute
Displaying GIF/PNG image files in a Java Swing application
Criteria.list() hanging after a few runs
JSP - Out of Memory exception
JDBC & SQLServer