Java on 256MB system?
- by Mike S.
For a school project, I've registered a free VPS on a hosting provider (pipni.cz). It has 256MB RAM:
Mem: 262144k total, 148104k used, 114040k free, 0k buffers
It's running on Debian Squeeze.
I always get this error when I run a Java program:
Error occurred during initialization of VM
Could not reserve enough space for object heap
Could not create the Java virtual machine.
I tried to use Xms, Xmx, Xss with low values and still same result. ulimit -v gives me "unlimited".
My application will be pretty simple and I need to use rmiregistry also. Can somebody help?