File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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 Java Interview Guide this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Products » Tomcat
Bookmark "Out of memory error" Watch "Out of memory error" New topic

Out of memory error

S M Narayan

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?

Java Developer, Thailand
Lasse Koskela

Joined: Jan 23, 2002
Posts: 11962
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.
I agree. Here's the link:
subject: Out of memory error
jQuery in Action, 3rd edition