Jump to content
  • 0

when make true GEODATA problem any help?


xxstanxx

Question

kalhspera  ena help enw trexw to server xwris geodata  eimai ok ota kanw true sto config gia to geodata exw to eksis sfalma  mpwrei kapoios na me bohthisei na to lisw?

 

                                                 http://prntscr.com/gtd049

Edited by xxstanxx
Link to comment
Share on other sites

15 answers to this question

Recommended Posts

  • 0
27 minutes ago, wongerlt said:

on start server .bat file, edit it with notepad, and copy here.

hey you need the config geodata? or i jast run gemeserver ?

 

 

[17:40:00]  INFO ===============[Spawn Manager]==================
[17:40:00]  INFO SpawnManager: spawned 1000 npc for group: NONE
[17:40:04]  INFO SpawnManager: spawned 2000 npc for group: NONE
[17:40:10]  INFO SpawnManager: spawned 5000 npc for group: NONE
[17:40:11]  INFO SpawnManager: spawned 6000 npc for group: NONE
[17:40:15]  INFO Naia Tower Manager: Loaded 12 rooms
Exception in thread "main" java.lang.OutOfMemoryError: Java heap space
        at java.util.Arrays.copyOf(Unknown Source)
        at java.util.concurrent.CopyOnWriteArrayList.add(Unknown Source)
        at l2f.gameserver.model.Zone.doEnter(Zone.java:456)
        at l2f.gameserver.model.Creature.onUpdateZones(Creature.java:3016)
        at l2f.gameserver.model.Creature.updateZones(Creature.java:2995)
        at l2f.gameserver.model.Creature.onSpawn(Creature.java:5080)
        at l2f.gameserver.model.instances.NpcInstance.onSpawn(NpcInstance.java:498)
        at l2f.gameserver.model.instances.MonsterInstance.onSpawn(MonsterInstance.java:205)
        at l2f.gameserver.model.GameObject.spawn0(GameObject.java:265)
        at l2f.gameserver.model.GameObject.spawnMe0(GameObject.java:246)
        at l2f.gameserver.model.GameObject.spawnMe(GameObject.java:237)
        at l2f.gameserver.model.Creature.spawnMe(Creature.java:5088)
        at l2f.gameserver.model.Spawner.initNpc0(Spawner.java:241)
        at l2f.gameserver.model.HardSpawner.initNpc(HardSpawner.java:64)
        at l2f.gameserver.model.Spawner.doSpawn0(Spawner.java:210)
        at l2f.gameserver.model.HardSpawner.doSpawn(HardSpawner.java:54)
        at l2f.gameserver.model.Spawner.init(Spawner.java:129)
        at l2f.gameserver.instancemanager.SpawnManager.spawn(SpawnManager.java:202)
        at l2f.gameserver.instancemanager.SpawnManager.spawnAll(SpawnManager.java:163)
        at l2f.gameserver.GameServer.<init>(GameServer.java:253)
        at l2f.gameserver.GameServer.main(GameServer.java:497)


 

Edited by xxstanxx
Link to comment
Share on other sites

  • 0
4 minutes ago, wongerlt said:

how u start server? what file open? put it here.


@echo off
COLOR 0b
title L2
:start
echo Login Server.
echo.

set JAVA_OPTS=%JAVA_OPTS% -Xmn512m
set JAVA_OPTS=%JAVA_OPTS% -Xms2096m
set JAVA_OPTS=%JAVA_OPTS% -Xmx2096m

set JAVA_OPTS=%JAVA_OPTS% -Xnoclassgc
set JAVA_OPTS=%JAVA_OPTS% -XX:+AggressiveOpts
set JAVA_OPTS=%JAVA_OPTS% -XX:TargetSurvivorRatio=90
set JAVA_OPTS=%JAVA_OPTS% -XX:SurvivorRatio=16
set JAVA_OPTS=%JAVA_OPTS% -XX:MaxTenuringThreshold=12
set JAVA_OPTS=%JAVA_OPTS% -XX:+UseParNewGC
set JAVA_OPTS=%JAVA_OPTS% -XX:+UseConcMarkSweepGC

set JAVA_OPTS=%JAVA_OPTS% -XX:UseSSE=3
set JAVA_OPTS=%JAVA_OPTS% -XX:+UseFastAccessorMethods

java -agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=5005 -server -Dfile.encoding=UTF-8 -Xmx2G -XX:+UseConcMarkSweepGC -XX:+UseTLAB -verbose:gc -XX:+PrintGCDetails -XX:+PrintGCTimeStamps -Xloggc:./gc.log -cp config;./../libs/* l2f.gameserver.GameServer

if ERRORLEVEL 2 goto restart
if ERRORLEVEL 1 goto error
goto end
:restart
echo.
echo Server restarted ...
echo.
goto start
:error
echo.
echo Server terminated abnormaly ...
echo.
:end
echo.
echo Server terminated ...
echo.

pause
 

Edited by xxstanxx
Link to comment
Share on other sites

  • 0

i dont know what mean this options, but try to google it.

set JAVA_OPTS=%JAVA_OPTS% -Xmn512m // try make -Xmn2096m
set JAVA_OPTS=%JAVA_OPTS% -Xms2096m
set JAVA_OPTS=%JAVA_OPTS% -Xmx2096m

try increase and test.

And how much rams ur pc have?

Link to comment
Share on other sites

  • 0
9 hours ago, xxstanxx said:

-Xmx2G -XX:+UseConcMarkSweepGC

In this line, increase the Xmx, set it 3G for example. If your OS is x64 bit, otherwise you will go again OOM.

Link to comment
Share on other sites

  • 0
10 minutes ago, SweeTs said:

In this line, increase the Xmx, set it 3G for example. If your OS is x64 bit, otherwise you will go again OOM.

ok i go try now

 

YEEEEEEEEEEEEEEEEEEEEEEES I LOVE YOU THANKS ALOT :))))))))))))))))))))))))))))))))

Edited by xxstanxx
Link to comment
Share on other sites

Guest
This topic is now closed to further replies.


×
×
  • Create New...