Moved to a new VPS hosting. (server with 650 mb ram)
I fresh installed the latest java JDK
I fresh installed wowza 2
root@cpanel [/usr/local/WowzaMediaServer/bin]# ./startup.sh
Error occurred during initialization of VM
Could not reserve enough space for object heap
Error: Could not create the Java Virtual Machine.
Error: A fatal exception has occurred. Program will exit.
I searched the wowza forums, and found threads suggesting to edit
/usr/local/WowzaMediaServer/bin/setenv.sh
I did that. I think originally it was
JAVA_OPTS="-Xmx768M"
I tried instead:
JAVA_OPTS="-Xmx384M"
and also:
JAVA_OPTS="-Xmx128M"
But I still get memory errors and Wowza won`t run.
I have about 550 mb ram free.
Any ideas, please?
Thanks