This week's book giveaway is in the General Computing forum.
We're giving away four copies of Arduino in Action and have Martin Evans, Joshua Noble, and Jordan Hochenbaum 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
Register / Login


JavaRanch » Java Forums » Products » Tomcat
Reply 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.
 
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: Out of memory error
 
Similar Threads
JSP - Out of Memory exception
Criteria.list() hanging after a few runs
Displaying GIF/PNG image files in a Java Swing application
can finally block won't execute
JDBC & SQLServer