Howdy, Are you saying garbage collection never happens? Or that it never de-allocates anything? The overall resident process size will never decrease, only increase up to the limit you (sort of) specify using parameters like -Xmx. Java will allocate memory as needed up to that limit, and release it back to the heap (but not to the OS) during garbage collection.
Could it be that you simply need more than the default 64MB memory? Yoav Shapira Millennium ChemInformatics >-----Original Message----- >From: Leo Przybylski [mailto:[EMAIL PROTECTED]] >Sent: Wednesday, December 11, 2002 7:18 PM >To: [EMAIL PROTECTED] >Subject: Memory issues > >Hello, > >I'm having memory issues. I don't suppose they come from tomcat, but >maybe it has to do with something I am using or the way I am doing it. > >It seems whenever I execute some (any) functionality of my system in >tomcat, memory gets used but never returned. Eventually, I get an "Out >of memory" error. I have run code profiling tools on my system and can >see that all my code is getting cleaned up. Somehow my operating system >is reporting I am using more and more each time. I wonder if it is the >way I am implementing some third part tools or if it might be the jvm I >am using. > >Has anybody had issues like this with jdk1.3.1_03, >jakarta-tomcat-4.1.12, log4j, and lucene-1.2? > >Thanks in advanced, >-Leo > >-- >To unsubscribe, e-mail: <mailto:tomcat-user- >[EMAIL PROTECTED]> >For additional commands, e-mail: <mailto:tomcat-user- >[EMAIL PROTECTED]> -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>