JANEZ123456 Posted December 24, 2009 Posted December 24, 2009 any know how i can fix this problem http://img710.imageshack.us/img710/1070/111qb.jpg i have vista x64 what i need change on GameServer.bat @echo off title GameServer :start REM ----------- Set Class Paths and Calls setenv.bat ----------------- SET OLDCLASSPATH=%CLASSPATH% call classpath.bat REM ------------------------------------------------------------------ REM ------------------------------------- REM Default parameters for a basic server. java -Dfile.encoding=UTF-8 -Xmx512m net.sf.l2j.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 -XX:PermSize=256m -XX:SurvivorRatio=8 -Xnoclassgc -XX:+AggressiveOpts REM ------------------------------------- SET CLASSPATH=%OLDCLASSPATH% 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 Quote
0 Coolis® Posted December 24, 2009 Posted December 24, 2009 gameserver is fine... i guess it something with config... error is on loading siege stats, so check siege archive on config... Quote
0 WeeDiSmYcHeaT Posted December 24, 2009 Posted December 24, 2009 java -Dfile.encoding=UTF-8 -Xmx256m net.sf.l2j.gameserver.GameServer im not sure but try this Quote
0 JANEZ123456 Posted December 24, 2009 Author Posted December 24, 2009 now too loginserver dont work if i add this java -Dfile.encoding=UTF-8 -Xmx256m net.sf.l2j.gameserver.GameServer is not this is any another problem coolis what file you think is problem on config btw i got too in another server pack this problem but no all Quote
0 Intrepid Posted December 24, 2009 Posted December 24, 2009 now too loginserver dont work if i add this java -Dfile.encoding=UTF-8 -Xmx256m net.sf.l2j.gameserver.GameServer is not this is any another problem coolis what file you think is problem on config man... -Xmx256m net.sf.l2j.gameserver.GameServer GAMESERVER why you put it into login?jeeez increase gameserver heap size! Quote
0 JANEZ123456 Posted December 24, 2009 Author Posted December 24, 2009 i put on gameserver and dont work now have too problem whit loginserver i change this java -Dfile.encoding=UTF-8 -Xmx512m net.sf.l2j.gameserver.GameServer for this -Xmx256m net.sf.l2j.gameserver.GameServer and no work Quote
0 Intrepid Posted December 24, 2009 Posted December 24, 2009 i put on gameserver and dont work now have too problem whit loginserver i change this java -Dfile.encoding=UTF-8 -Xmx512m net.sf.l2j.gameserver.GameServer for this -Xmx256m net.sf.l2j.gameserver.GameServer and no work man you lowered the heap size jeeeeeeeeez OUTOFMEMORY dont mean that you have too much memory for gods sake... Quote
0 JANEZ123456 Posted December 24, 2009 Author Posted December 24, 2009 i dont no what is must make can you tell pls batter btw i have free place 296gb Quote
0 Grim. Posted December 24, 2009 Posted December 24, 2009 nah what you dont understand MORE HEAP MEMORY Quote
0 JANEZ123456 Posted December 24, 2009 Author Posted December 24, 2009 i cant get more heap memory have C: 10gb free D:296gb free Quote
0 Intrepid Posted December 24, 2009 Posted December 24, 2009 i cant get more heap memory have C: 10gb free D:296gb free outofMEMORY not outofhdd.... Quote
0 Tryskell Posted December 25, 2009 Posted December 25, 2009 "-Xmx768m" or "-Xmx1024m" on gameserver.bat :P. Put back "-Xmx512m" on LS if you had problem with "-Xmx256m". BTW, when we talk about memory, it's RAM memory, not HDD capacities :P. Quote
Question
JANEZ123456
any know how i can fix this problem http://img710.imageshack.us/img710/1070/111qb.jpg i have vista x64
what i need change on GameServer.bat
@echo off
title GameServer
:start
REM ----------- Set Class Paths and Calls setenv.bat -----------------
SET OLDCLASSPATH=%CLASSPATH%
call classpath.bat
REM ------------------------------------------------------------------
REM -------------------------------------
REM Default parameters for a basic server.
java -Dfile.encoding=UTF-8 -Xmx512m net.sf.l2j.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 -XX:PermSize=256m -XX:SurvivorRatio=8 -Xnoclassgc -XX:+AggressiveOpts
REM -------------------------------------
SET CLASSPATH=%OLDCLASSPATH%
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
12 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.