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

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now


×
×
  • Create New...

AdBlock Extension Detected!

Our website is made possible by displaying online advertisements to our members.

Please disable AdBlock browser extension first, to be able to use our community.

I've Disabled AdBlock