Java on 256MB system?
Posted
by
Mike S.
on Server Fault
See other posts from Server Fault
or by Mike S.
Published on 2011-11-11T16:59:23Z
Indexed on
2011/11/11
17:58 UTC
Read the original article
Hit count: 125
java
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?
© Server Fault or respective owner