Доброго всем времени суток, суть проблемы проста, не запускается ГС, но для меня непонятна, т.к. только недавно начал заниматься сервером, уже колдовал и искал в гугле)))
[09.05.19 12:21:20:123] ERROR threading.RunnableImpl: Exception: RunnableImpl.run(): java.lang.OutOfMemoryError: Java heap space
java.lang.OutOfMemoryError: Java heap space
at java.util.BitSet.initWords(Unknown Source)
at java.util.BitSet.<init>(Unknown Source)
at l2.gameserver.idfactory.BitSetIDFactory.increaseBitSetCapacity(BitSetIDFactory.java:123)
at l2.gameserver.idfactory.BitSetIDFactory$BitSetCapacityCheck.runImpl(BitSetIDFactory.java:26)
at l2.commons.threading.RunnableImpl.run(RunnableImpl.java:21)
at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
at java.util.concurrent.FutureTask.runAndReset(Unknown Source)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(Unknown Source)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
А вот сам батник
@echo off
:start
echo Starting GameServer.
echo.
java -server -Dfile.encoding=UTF-8 -Xmx1500m -cp config;./* l2.gameserver.GameServer
REM Debug ...
REM java -Dfile.encoding=UTF-8 -cp config;./* -Xmx3G -Xnoclassgc -Xdebug -Xnoagent -Djava.compiler=NONE -Xrunjdwp:transport=dt_socket,server=y,suspend=y,address=7456 l2.gameserver.GameServer
if ERRORLEVEL 2 goto restart
if ERRORLEVEL 1 goto error
goto end
:restart
echo.
echo Server restarted ...
echo.
goto start
:error
echo.
echo Server terminated abnormaly ...
echo.
:end
echo.
echo Server terminated ...
echo.
pause