I tried to install RED5 0.6.3 on a CentOS 5.0 VPS (Virtual Dedicated Server) with 256M memory by following the instruction.
http://osflash.org/red5/fc4The following steps are always OK. But when I tried the last step. The following error message occured. I searched Google for a solution and found that it's may because of the VPS configuration. And can anyone help me about this?
[root@ip-address red5-0.6.3]# ant server &
[1] 20369
[root@ip-address red5-0.6.3]# Buildfile: build.xml
[echo] java.home is /usr/java/jdk1.5.0_13/jre and the target version is 1.5
-library.check:
-java6.check:
[echo] Using java6? ${java6.installed}
-junit.check:
prepare:
compile:
[echo] Javac version: 1.5
[echo] Eclipse? ${eclipse.running}
[echo] Compiler adapter name: modern
[echo] java.home is /usr/java/jdk1.5.0_13/jre and the target version is 1.5
compile_core:
[echo] java.home is /usr/java/jdk1.5.0_13/jre and the target version is 1.5
compile_core_compatibility
:
[echo] java.home is /usr/java/jdk1.5.0_13/jre and the target version is 1.5
retrieve:
[javac] Compiling 448 source files to /opt/red5-0.6.3/bin
[javac] Error occurred during initialization of VM
[javac] Could not reserve enough space for object heap
[javac] Could not create the Java virtual machine.
BUILD FAILED
/opt/red5-0.6.3/build.xml:
147: The following error occurred while executing this line:
/opt/red5-0.6.3/build.xml:
177: Compile failed; see the compiler error output for details.
Total time: 3 seconds