I have questions about memory usage of Java/WO apps. One of our apps had
good old "out of memory" error. While looking at how much system memory the
app was using, I saw another app that was using 1 GB of resident memory!

  PID USER      PR  NI  VIRT  RES  SHR S %CPU %MEM    TIME+  COMMAND


 2362 appserve  25   0 1922m 1.0g 9264 S  0.0 17.6   0:56.45 java



But what's strange is that app is using the default memory settings, we are
not using the -Xmx arguments, so I don't understand why this app can,
according to Linux, be using 1 GB of RAM when it should stop when it reaches
64 MB. I tried some Googling and I didn't find any info that the maximum is
higher than 64 MB for Java 6 but maybe I was searching for the wrong thing.

CentOS release 5.5 (Final) x86_64
java version "1.6.0_20"
Java(TM) SE Runtime Environment (build 1.6.0_20-b02)
Java HotSpot(TM) 64-Bit Server VM (build 16.3-b01, mixed mode)
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-deploy mailing list      ([email protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-deploy/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to