Chucky™ Posted February 27, 2014 Posted February 27, 2014 Error occurred during initialization of VMIncompatible initial and maximum heap sizes specified
Chucky™ Posted February 27, 2014 Author Posted February 27, 2014 nop i have on VPS 8 gb ram i add 2 gb only on gameserver and take this.
SweeTs Posted February 27, 2014 Posted February 27, 2014 (edited) Paste here your ram settings for GS :P Edited February 27, 2014 by SweeTs
Chucky™ Posted February 28, 2014 Author Posted February 28, 2014 @echo off title L2J-Frozen: Game Server Console :start echo Starting L2J-Frozen Core Game Server. echo Official website : http://www.l2jfrozen.com echo Enjoy by server core. Bee happy! echo ------------------------------ echo. REM ------------------------------------- REM Default parameters for a basic server. java -Dfile.encoding=UTF8 -Xmx1096m -Xms1048m -Xmn1024m -XX:PermSize=256m -XX:SurvivorRatio=8 -Xnoclassgc -XX:+AggressiveOpts -XX:+UseSerialGC -cp ./lib/*;l2jfrozen-core.jar com.l2jfrozen.gameserver.GameServer REM REM If you have a big server and lots of memory, you could experiment for example with REM java -server -Xmx4096m -Xms2048m -Xmn1024m -XX:PermSize=256m -XX:SurvivorRatio=8 -Xnoclassgc -XX:+AggressiveOpts REM ------------------------------------- if ERRORLEVEL 7 goto telldown if ERRORLEVEL 6 goto tellrestart if ERRORLEVEL 5 goto taskrestart if ERRORLEVEL 4 goto taskdown REM 3 - abort if ERRORLEVEL 2 goto restart if ERRORLEVEL 1 goto error goto end :tellrestart echo. echo Telnet server Restart ... echo Send you bug to : http://www.l2jfrozen.com echo. goto start :taskrestart echo. echo Auto Task Restart ... echo Send you bug to : http://www.l2jfrozen.com echo. goto start :restart echo. echo Admin Restart ... echo Send you bug to : http://www.l2jfrozen.com echo. goto start :taskdown echo . echo Server terminated (Auto task) echo Send you bug to : http://www.l2jfrozen.com echo . :telldown echo . echo Server terminated (Telnet) echo Send you bug to : http://www.l2jfrozen.com echo . :error echo. echo Server terminated abnormally echo Send you bug to : http://www.l2jfrozen.com echo. :end echo. echo server terminated echo Send you bug to : http://www.l2jfrozen.com echo. :question set choix=q set /p choix=Restart(r) or Quit(q) if /i %choix%==r goto start if /i %choix%==q goto exit :exit exit pause with this can open server and i set this: and cant open server take : Error occurred during initialization of VM Incompatible initial and maximum heap sizes specified @echo off title L2J-Frozen: Game Server Console :start echo Starting L2J-Frozen Core Game Server. echo Official website : http://www.l2jfrozen.com echo Enjoy by server core. Bee happy! echo ------------------------------ echo. REM ------------------------------------- REM Default parameters for a basic server. java -Dfile.encoding=UTF8 -Xmx2096m -Xms2048m -Xmn1024m -XX:PermSize=256m -XX:SurvivorRatio=8 -Xnoclassgc -XX:+AggressiveOpts -XX:+UseSerialGC -cp ./lib/*;l2jfrozen-core.jar com.l2jfrozen.gameserver.GameServer REM REM If you have a big server and lots of memory, you could experiment for example with REM java -server -Xmx4096m -Xms2048m -Xmn1024m -XX:PermSize=256m -XX:SurvivorRatio=8 -Xnoclassgc -XX:+AggressiveOpts REM ------------------------------------- if ERRORLEVEL 7 goto telldown if ERRORLEVEL 6 goto tellrestart if ERRORLEVEL 5 goto taskrestart if ERRORLEVEL 4 goto taskdown REM 3 - abort if ERRORLEVEL 2 goto restart if ERRORLEVEL 1 goto error goto end :tellrestart echo. echo Telnet server Restart ... echo Send you bug to : http://www.l2jfrozen.com echo. goto start :taskrestart echo. echo Auto Task Restart ... echo Send you bug to : http://www.l2jfrozen.com echo. goto start :restart echo. echo Admin Restart ... echo Send you bug to : http://www.l2jfrozen.com echo. goto start :taskdown echo . echo Server terminated (Auto task) echo Send you bug to : http://www.l2jfrozen.com echo . :telldown echo . echo Server terminated (Telnet) echo Send you bug to : http://www.l2jfrozen.com echo . :error echo. echo Server terminated abnormally echo Send you bug to : http://www.l2jfrozen.com echo. :end echo. echo server terminated echo Send you bug to : http://www.l2jfrozen.com echo. :question set choix=q set /p choix=Restart(r) or Quit(q) if /i %choix%==r goto start if /i %choix%==q goto exit :exit exit pause
Trance Posted February 28, 2014 Posted February 28, 2014 Xmx should be double than Xms. Try like that. -Xmx4g -Xms2g -Xmn1g
Chucky™ Posted February 28, 2014 Author Posted February 28, 2014 Xmx should be double than Xms. Try like that. -Xmx4g -Xms2g -Xmn1g thank you a lot but i fint problem its i have install Java 32 bit . -Lock topic
Vision Posted March 1, 2014 Posted March 1, 2014 thank you a lot but i fint problem its i have install Java 32 bit . -Lock topic k
Recommended Posts