I'm trying to run a SMP server on a linux server but whenever I try and give it a maximum or 3 Gb to work with it says "could not reserve enough space for object heap" when I look at "free -m" it clearly says I have over 3Gb available... Any idea on how to fix this?
I will provide more info if I need to...
It's actually somewhat north of 1G, but not too much more.
The technical limit is that 32bit Java is using a 32bit Signed integer for it's memory pointers, so the entire JVM process space is limited to 2G. Since the JVM needs memory for it's own needs, you're left with a max heap around 1.3G