Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: 64 bit Java on Mac OS/X



You don't need 64 bits to exceed 2GB in java. You need 64 bits to exceed 4GB. On my brand new Core2Duo MBP with 3GB physical memory, I'm getting:

$ java -Xmx2108M -version
java version "1.5.0_06"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_06-113)
Java HotSpot(TM) Client VM (build 1.5.0_06-68, mixed mode)

$ java -Xmx2109M -version
Error occurred during initialization of VM
Could not reserve enough space for object heap
Trace/BPT trap

That's bigger than 2GB, but just barely.

-Joshua


On Dec 14, 2006, at 8:31 AM, Van Simmons wrote:

I've been trying to find out the details on using Java in 64 bit mode in Mac OS/X. Is this possible under Java 5? If not is it going to be possible in Java 6? I suppose what I'm really trying to find out is if it is possible to heap sizes > 2GB.

Thx

rvs
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Java-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/java-dev/email@hidden

This email sent to email@hidden

_______________________________________________ Do not post admin requests to the list. They will be ignored. Java-dev mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/java-dev/email@hidden

This email sent to email@hidden
References: 
 >64 bit Java on Mac OS/X (From: "Van Simmons" <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.