On Mar 28, 2008, at 1:11 PM, Ryan Stern wrote:
"On OS X, the client only has 128MB allocated to it."

Seriously?

Forgive me if this comes across as incredibly naïve, but didn't we get away from fixed memory partitions when we moved from Mac OS 9 to Mac OS X? Is "dynamic memory allocation" on a feature list somewhere for a future version of Intermapper?

Ryan.

Java needs a contiguous heap due to the implementation of garbage collection. We can control the maximum size of this heap when the program is launched - this setting is used to reserve the memory. The heap may grow and shrink and vary in size greatly over the life of the application. The number that Janice quoted above is the default maximum heap size that we set. Since we support Mac OS X 10.3.9, and 10.3.9 requires only 128MB of RAM, the Mac OS X application has a maximum heap size of 128 MB. Setting this to a number larger than the amount of physical RAM in the Mac will crash the VM. (This may have been fixed by a later JVM in a later OS from Apple, I forget.) We only have a single Mac OS X application for all versions of Mac OS X (10.3.9-10.5.2), so this value has to be set to the lowest common denominator - 128MB. 128MB is more than enough for most users.

If you want more technical information about how the Java heap work, how it is allocated, and how that setting is used, ask me (or Google).

-Tex Clayton
Dartware, LLC
http://www.dartware.com

____________________________________________________________________
List archives:
http://www.mail-archive.com/intermapper-talk%40list.dartware.com/
To unsubscribe: send email to: [EMAIL PROTECTED]

Reply via email to