Jump to content
  • 0

[Help] Problem-Gameserver


Question

Posted

hi,if i restart the game server from l2  i've this problem and to work again i must close all windows of server. example : gs,lg and stop.bat and restart it all.. !

what is wrong ??

note: I'm using l2j Oneo Preconfigure by TheMentaL pack !

[glow=red,2,300]Take a look[/glow]

72057071ed7.png

 

 

 

Edit:

i saw something ... if i change the Xmx1024m to Xmx512m it working perfectly !

note:i've 4GB ram.

@echo off

title Oneo Preconfigure by TheMentaL

:start

echo Starting Game Server.

echo.

REM -------------------------------------

REM Default parameters for a basic server.

java [glow=red,2,300]Xmx1024m [/glow]--cp  bsf.jar;bsh-2.0b4.jar;commons-logging-1.1.jar;mmocore.jar;javolution.jar;c3p0-0.9.1.2.jar;mysql-connector-java-5.0.7-bin.jar;l2jserver.jar;jython.jar 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 -------------------------------------

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

 

1 answer 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.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



×
×
  • Create New...