Jump to content
  • 0

GameServer Problem


DAVC

Question

7 answers to this question

Recommended Posts

  • 0

any know what i need make for fix this problem http://img101.imageshack.us/img101/946/helph.jpg :'(

Find NPC with 20664 ID, find Class column and put in the box Monster.field_stalker

Link to comment
Share on other sites

  • 0

xAddytzu wher this find on navicat table npc? btw i have too in another server pack this problem whit this java heap problem any can tell me more easily withby procedure how can this fix (java heap problem)

Link to comment
Share on other sites

  • 0

wher?

 

@echo off

title Game Server Console

:start

echo Starting l2jfree

echo.

 

SET OLDCLASSPATH=%CLASSPATH%

call setenv.bat

 

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

REM Default parameters for a basic server.

java -Dfile.encoding=UTF-8 -Xmx512m net.sf.l2j.gameserver.GameServer

REM

REM For debug purpose (for devs), use this :

REM java -Dfile.encoding=UTF-8 -Xmx512m -Xdebug -Xnoagent -Djava.compiler=NONE -Xrunjdwp:transport=dt_socket,server=y,suspend=y,address=7456 net.sf.l2j.gameserver.GameServer

REM If you have a big server and lots of memory, you could experiment for example with

REM java -server -Dfile.encoding=UTF-8 -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

 

Link to comment
Share on other sites

  • 0

Well , you all don't give a complete answer.

 

@DAVC , let me explain you.

 

There are 2 reasons why your java runs out of memory.

 

Your java application has a memory leak or your Java application needs a lot of memory . More than 128 MB by default. So , java heap size can be increased using the following parameters :

 

java -Xms<initial heap size> -Xmx<maximum heap size>

 

You can set this in the java control panel or in the command line . Depending on the enviroment you run your application.

 

This is what you must do in order to solve this problem .

 

Good luck.

 

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.


×
×
  • Create New...