Also remembering this is only true for Java 6 (maybe only on
solaris/linux)..  Trying to find supporting docs. :)

-Lon

On Wed, Nov 24, 2010 at 10:09 AM, Lon Varscsak <[email protected]>wrote:

> I believe the default size for Java 64-bit is 1G not 64M.
>
> -Lon
>
> On Wed, Nov 24, 2010 at 9:55 AM, Pascal Robert <[email protected]> wrote:
>
>> 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/varscsak%40smarthealth.com
>>
>> This email sent to [email protected]
>>
>
>
 _______________________________________________
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