Heap size limit

Paul Dlug paul at aps.org
Fri Apr 23 06:49:30 PDT 2004


I'm trying to start a JVM with a large heap size and getting an error 
message:

java -Xms256m -Xmx2024m
Error occurred during initialization of VM
Could not reserve enough space for object heap

I tried a bunch of different sizes and anything under 2024m works just 
fine so this appears to be a hard limit. I've tried changing a few 
system parameters but can't seem to stumble on the right one. Can 
someone help me out with this?

Thanks,
Paul



More information about the freebsd-java mailing list