File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Tomcat and the fly likes Out of Memory 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" Watch "Out of Memory" New topic
Author

Out of Memory

Chit Ming Chong
Ranch Hand

Joined: Sep 09, 2004
Posts: 49
Dear all,

My department is running a few jsp web applications using tomcat. Almost everyday we will encounter an error saying "out of memory". We need to restart the webcontainer to continue. Does anyone had such problem before? Can someone tell me what would be the most likely cause and how to solve it.

Thanks
William Brogden
Author and all-around good cowpoke
Rancher

Joined: Mar 22, 2000
Posts: 12786
    
    5
Does anyone had such problem before?

Searching in this forum should find you LOTS of memory use related message threads.
Bill
Bharath Chinnadurai Maharajan
Greenhorn

Joined: Dec 22, 2004
Posts: 26
hi,

I guess the error msg u get is Out of Environment space. Dis prob comes in machines running in win 98 or me or below. for dis........right click the startup.bat file and choose properties and select memory and change the initial environment entry from Auto to atleast 2816 or more. Repeat de same for de shutdown.bat file as well.

Hope that helps u
TC
Bharath Chinnadurai
SCJP 1.4


bharath
hemanth kp
Greenhorn

Joined: Apr 06, 2005
Posts: 9
Hi,

Why dont you try to null all the objects used at the end in the Java code so that it will facilitate the Garbage Collector to reclaim any unused memory.

Regards,
Hemanth
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Out of Memory