Hi,
I have a fairly computing intensive benchmark program in Java which I am testing on a Linux server. It runs just fine on my Macbook.
If I run it on the server, the following happens: As soon as the memory footprint reaches about 324 MB, the program begins to grind to a halt. Apparently some restriction bars it from using more memory, and the garbage collector has to do more and more work to stay below this restriction. At some point, a "GC overhead exceeded" exception" is thrown.
I start java with -Xmx16000m, so that cannot be the memory limit. What are other possible limits?
These are the Java versions I am using:
Macbook:
java version "1.5.0_16"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_16-b06-284)
Java HotSpot(TM) Client VM (build 1.5.0_16-133, mixed mode, sharing)
Linux Server:
java version "1.6.0_12"
Java(TM) SE Runtime Environment (build 1.6.0_12-b04)
Java HotSpot(TM) 64-Bit Server VM (build 11.2-b01, mixed mode)