Hi,
I'm trying to run a program that requires
alot of memory. It's falling over after some time with out of memory issues. As a
test I've been using the following to see tha maximum amount of memory that I can assign:
C:\>
java -Xmx1050m
At this point it fails as it cannot reserve enough space for the object heap.
I can assign 1042m (obviously it fails as there is nothing to run - it's just a test to see max allocation details).
Anyway this is on a machine with 4 gig of ram physically installed which is the max for a win 32 machine as I understand it. Out of that I actually have about 3.25gig available and from that about 2.95gig after overheads. It's a duel core machine. I was hoping to get more like 1.5gig for the JVM rather than just about 1gig.
How much memory should the JVM heap be able to use ?
Thanks,
Ed