On Thu, 2002-12-12 at 07:07, Shapira, Yoav wrote: > Howdy, > Are you saying garbage collection never happens? Or that it never > de-allocates anything? Actually, it seems to do both according to my profiling software (Using Inprise Optimizeit). I can see when the garbage collector runs, and when it does all the objects are reclaimed and it deallocates, but my resident memory keeps rising.
> 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. Ahhh...this helps. I believe my limit is 128m. I noticed that each of my java processes (individual java threads) comes near that before the "out of memory" error. Perhaps that is what I am noticing. I still do not know why I am getting it though. > > Could it be that you simply need more than the default 64MB memory? I don't know. The machine has 1GB of physical and 2GB virtual memory. With the total of java processes at 64MB each and 57 of them running, my machine is almost depleated. > > 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]> > -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>