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: 12268
1
posted
0
Does anyone had such problem before?
Searching in this forum should find you LOTS of memory use related message threads. Bill
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.
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.