Цитата:
Сообщение от Bonabo
Попробуйте вот так:
[CODE width=500px] java -Xmn1024m -Xms1024m -Xmx2048m -server com.l2open.gameserver.util.BootManager[/CODE]
|
Не помогло!
Вот логи:
Код:
17.05.2008 14:44:58 ru.l2open.gameserver.model.L2Spawn doSpawn
WARNING: NPC 31034 class not found
java.lang.reflect.InvocationTargetException
at sun.reflect.GeneratedConstructorAccessor26.newInstance(Unknown Source)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
at ru.l2open.gameserver.model.L2Spawn.doSpawn(L2Spawn.java:469)
at ru.l2open.gameserver.model.L2Spawn.doSpawn(L2Spawn.java:426)
at ru.l2open.gameserver.model.L2Spawn.init(L2Spawn.java:393)
at ru.l2open.gameserver.datatables.SpawnTable.fillSpawnTable(SpawnTable.java:117)
at ru.l2open.gameserver.datatables.SpawnTable.<init>(SpawnTable.java:55)
at ru.l2open.gameserver.datatables.SpawnTable.<init>(SpawnTable.java:37)
at ru.l2open.gameserver.datatables.SpawnTable$SingletonHolder.<clinit>(SpawnTable.java:394)
at ru.l2open.gameserver.datatables.SpawnTable.getInstance(SpawnTable.java:49)
at ru.l2open.gameserver.model.entity.Fort.initNpcs(Fort.java:1185)
at ru.l2open.gameserver.model.entity.Fort.<init>(Fort.java:245)
at ru.l2open.gameserver.instancemanager.FortManager.loadInstances(FortManager.java:149)
at ru.l2open.gameserver.GameServer.<init>(GameServer.java:188)
at ru.l2open.gameserver.GameServer.main(GameServer.java:423)
Caused by: java.lang.OutOfMemoryError: unable to create new native thread
at java.lang.Thread.start0(Native Method)
at java.lang.Thread.start(Thread.java:597)
at java.util.concurrent.ThreadPoolExecutor.addIfUnderCorePoolSize(ThreadPoolExecutor.java:703)
at java.util.concurrent.ThreadPoolExecutor.prestartCoreThread(ThreadPoolExecutor.java:1381)
at java.util.concurrent.ScheduledThreadPoolExecutor.delayedExecute(ScheduledThreadPoolExecutor.java:223)
at java.util.concurrent.ScheduledThreadPoolExecutor.scheduleAtFixedRate(ScheduledThreadPoolExecutor.java:398)
at ru.l2open.gameserver.ThreadPoolManager.scheduleAiAtFixedRate(ThreadPoolManager.java:181)
at ru.l2open.gameserver.model.actor.instance.L2GuardInstance.<init>(L2GuardInstance.java:75)
... 16 more
Вот startgameserver.bat:
Код:
@echo off
title L2Open: Game Server Console
:start
echo Starting L2Open Game Server.
echo Visit www.open-team.ru for updates.
echo.
REM -------------------------------------
REM Default parameters for a basic server.
java -Djava.util.logging.manager=ru.l2open.util.L2LogManager -Xms1024m -Xmx1024m -cp ./../libs/*;l2open-game.jar ru.l2open.gameserver.GameServer
REM
REM If you have a big server and lots of memory, you could experiment for example with
REM java -server -Xmx2048m -Xms1024m -Xmn1024m -XX:PermSize=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=ru.l2open.L2LogManager. Example:
REM java -Djava.util.logging.manager=ru.l2open.util.L2LogManager -Xmx1024m -cp ./../libs/*;l2jserver.jar ru.l2open.gameserver.GameServer
REM -------------------------------------
if ERRORLEVEL 2 goto restart
if ERRORLEVEL 1 goto error
goto end
:restart
echo.
echo Admin Restart ...
echo.
goto start
:error
echo.
echo Server terminated abnormaly
echo.
:end
echo.
echo server terminated
echo.
pause
Помогите пожалуйста разобраться!
Все разобрался!!!!