10-10-2011, 04:29 AM
Такая ошибка выходит, не знаю почему виртуальной памяти не хватает вроде всё увеличил тут:
Starting L2DC Game Server.
Error occurred during initialization of VM
Could not reserve enough space for object heap
Could not create the Java virtual machine.
Server terminated abnormaly
server terminated
Для продолжения нажмите любую клавишу . . .
Я не знаю в батнике геймсервера где -Xmx увеличивать ?
Вот мой: REM Default parameters for a basic server.
java -Djava.util.logging.manager=com.l2dc.util.L2LogManager -Xmx3100m -Xms2096m -Xmn1048m -XXermSize=80m -XX:MaxPermSize=80m -XX:SurvivorRatio=8 -Xnoclassgc -XX:+AggressiveOpts -XX:+UseConcMarkSweepGC -XX:+PrintGCDetails -XX:+PrintGCTimeStamps -cp ./../libs/*;l2dcserver.jar com.l2dc.gameserver.GameServer
REM
REM If you have a big server and lots of memory, you could experiment for example with
REM java -server -Xmx1536m -Xms1024m -Xmn512m -XXermSize=256m -XX:SurvivorRatio=8 -Xnoclassgc -XX:+AggressiveOpts
REM If you are having troubles on server shutdown (saving data),
REM add this to startup paramethers: -Djava.util.logging.manager=com.l2dc.L2LogManager. Example:
REM java -Djava.util.logging.manager=com.l2dc.util.L2LogManager -Xms1024m -Xmx1024m -cp ./../libs/*;l2jserver.jar com.l2dc.gameserver.GameServer
Starting L2DC Game Server.
Error occurred during initialization of VM
Could not reserve enough space for object heap
Could not create the Java virtual machine.
Server terminated abnormaly
server terminated
Для продолжения нажмите любую клавишу . . .
Я не знаю в батнике геймсервера где -Xmx увеличивать ?
Вот мой: REM Default parameters for a basic server.
java -Djava.util.logging.manager=com.l2dc.util.L2LogManager -Xmx3100m -Xms2096m -Xmn1048m -XXermSize=80m -XX:MaxPermSize=80m -XX:SurvivorRatio=8 -Xnoclassgc -XX:+AggressiveOpts -XX:+UseConcMarkSweepGC -XX:+PrintGCDetails -XX:+PrintGCTimeStamps -cp ./../libs/*;l2dcserver.jar com.l2dc.gameserver.GameServer
REM
REM If you have a big server and lots of memory, you could experiment for example with
REM java -server -Xmx1536m -Xms1024m -Xmn512m -XXermSize=256m -XX:SurvivorRatio=8 -Xnoclassgc -XX:+AggressiveOpts
REM If you are having troubles on server shutdown (saving data),
REM add this to startup paramethers: -Djava.util.logging.manager=com.l2dc.L2LogManager. Example:
REM java -Djava.util.logging.manager=com.l2dc.util.L2LogManager -Xms1024m -Xmx1024m -cp ./../libs/*;l2jserver.jar com.l2dc.gameserver.GameServer