|
Dedicated Server Discuss technical issues related to hosting your own servers. |
|
Thread Tools | Display Modes |
#1
|
|||
|
|||
Linux Installer: "Could not reserve enough space for object heap"
Just downloaded Altitude's linux client, but I'm encountering a problem executing the installer:
Quote:
Operating system: Ubuntu 8.04 User account: root (as long as altitude doesnt run at all) What else to mention? Help is appreciated. Best regards, bmaker |
#2
|
|||
|
|||
After 4 hours I got it working:
On many virtual servers java is too greedy regarding memory usage, because there seems to be a lot of free memory, which is in fact used by the other virtual server instances on the same machine. This problem can be fixed by manually setting the maximum heapsize with the parameter "-Xmx128m" (meaning "heapsize maximum is 128 megabyte"). E.g. instead of "java -version" you now write "java -Xmx128m -version". Of course it is a pain and sometimes impossible to add this parameter to each java call. So you can set the environment variable _JAVA_OPTIONS by executing the following command: Quote:
And finally it also helped me to get altitude working. Note: The export-command above does only set _JAVA_OPTIONS for the current session. After you logout the setting will no more be in effect. However, on Ubuntu you can make environment variables permanent by editing the file /etc/environment. Other linux distributions might also have this file... but I am not sure. Last edited by bmaker; 12-17-2009 at 07:24 PM. |
|
|