-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Stephanie,
Stephanie Wullbieter wrote: | -Xmx768m | -verbose:gc Do you see GC activity in stdout? You should be able to get some heap metrics easily by looking at that. What does the heap use curve look like? | total used free shared buffers cached | Mem: 1555828 1522108 33720 0 71984 78676 | -/+ buffers/cache: 1371448 184380 | Swap: 265064 265064 0 | | So the host seems to be under memory pressure and it's a question of time that it comes to instability. To quote a wise newsgroup (or blog?) sage: "what good memory if you're not using it?". Seriously. Why are you worried that your machine's memory is not free? 'free' reports that no wrap is being used. It looks like your kernel is managing your memory quite well. | ps aux | tomcatp 19814 0.7 85.5 1860356 1330700 ? Sl Apr08 152:48 /home/tomcatp/prod/java2/bin/java -Dtomcat Okay, this is kinda weird. You started the JVM with a 768MiB heap, and the process appears to be using a little less than double that. It seems to me that your heap has reached its maximum size (768MiB), which accounts for a bit over half of the allocation of memory. How many connectors do you have enabled in Tomcat? Per connector, how many connections are you allowing it to accept? Are you using any special connector like NIO, APR, or Comet? If you have a lot of threads allocated through connectors, they all need lots of memory to stay running. | The Java VM has no OutOfMemory failures, the JVM usage is about 600 MiB, and does not go over 700 MiB (768 MiB JVM Heap). | So it looks like Java VM is using about 700 MiB for itself. Is that normal? Yes, if you have lots of threads. | | When the tomcat is started, java only uses 300 MiB overall, then it increases constantly. Your JVM will never release heap memory back to the operating system, so a process memory size that only increases is not cause for alarm. If you are getting no OOMEs and everything runs properly, why are you so concerned? You never mentioned what type of "problem" occurred to your application. - -chris -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEARECAAYFAkgOEYMACgkQ9CaO5/Lv0PCjUQCfTTGM9YSq7VS9l+IgEMr/osYN iJ0An18KjNs8KBpjz5TnX8FsF2vD0T/P =ZnOF -----END PGP SIGNATURE----- --------------------------------------------------------------------- To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]