Re: Question on JVM memory in tomcat

2008-12-17 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Kees Jan, Kees Jan Koster wrote: > The memory drops every 18 hours because the system had locked up with > OOME's and I reboot it. Sorry, that wasn't clear from the graph: it looked like a continuous JVM heap graph with a healthy curve. Knowing that

Re: Question on JVM memory in tomcat

2008-12-14 Thread Kees Jan Koster
Dear Chris, I just wrote a small post about memory leaks http://java-monitor.com/forum/showthread.php?t=150 In that post I also talk about the difference between maximum memory and committed memory. Note that in the memory usage graph you show, the leak is certainly not "easy to spot".

Re: Question on JVM memory in tomcat

2008-12-14 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Kees Jan, Kees Jan Koster wrote: >> JVM >> Free memory: 38.13 MB Total memory: 111.18 MB Max memory: 1365.37 MB > > As David pointed out, this is probably measured against the committed > memory, not the max memory. I believe that "committed" and "t

Re: Question on JVM memory in tomcat

2008-12-13 Thread Kees Jan Koster
Dear user080701, I am using the tomcat manager to monitor the health of the tomcat server. I found that the session of JVM, it shown the following information: JVM Free memory: 38.13 MB Total memory: 111.18 MB Max memory: 1365.37 MB As David pointed out, this is probably measured against

Re: Question on JVM memory in tomcat

2008-12-13 Thread David Smith
Caught one of my own flaws in that one right after I sent it. Total memory - free memory is what's actually being used. Total is what's been reserved before. If free memory goes to zero, the jvm adds memory to the total up to max memory. If you're worried about memory consumption, just watch total

Re: Question on JVM memory in tomcat

2008-12-13 Thread David Smith
My limited understanding, but free memory is memory the JVM has used before and freed up. In your case, total memory probably went up to 149.31 MB at one point, then memory was freed creating that 38.13 MB free memory. If the sum of Free and Total add up to max, I would worry since that implies at

Question on JVM memory in tomcat

2008-12-13 Thread user080701
Hi, I am using the tomcat manager to monitor the health of the tomcat server. I found that the session of JVM, it shown the following information: JVM Free memory: 38.13 MB Total memory: 111.18 MB Max memory: 1365.37 MB Is my tomcat in good condition or not? It seems that the free memory is o