This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
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


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
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.
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Out of memory error
 
Similar Threads
Displaying GIF/PNG image files in a Java Swing application
Criteria.list() hanging after a few runs
JSP - Out of Memory exception
JDBC & SQLServer
can finally block won't execute