Skip to content

[Help]OutOfMemory Java error

Featured Replies

Exception in thread "GeneralSTPool-3" java.lang.OutOfMemoryError: Java heap spac
e
       at java.util.BitSet.initWords(Unknown Source)
       at java.util.BitSet.<init>(Unknown Source)
       at net.sf.l2j.gameserver.idfactory.BitSetIDFactory.increaseBitSetCapacit
y(BitSetIDFactory.java:166)
       at net.sf.l2j.gameserver.idfactory.BitSetIDFactory$BitSetCapacityCheck.r
un(BitSetIDFactory.java:62)
       at net.sf.l2j.gameserver.ThreadPoolManager$RunnableWrapper.run(ThreadPoo
lManager.java:89)
       at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
       at java.util.concurrent.FutureTask$Sync.innerRunAndReset(Unknown Source)

       at java.util.concurrent.FutureTask.runAndReset(Unknown Source)
       at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.
access$101(Unknown Source)
       at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.
runPeriodic(Unknown Source)
       at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.
run(Unknown Source)
       at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source
)
       at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
       at java.lang.Thread.run(Unknown Source)
Exception in thread "main" java.lang.OutOfMemoryError: GC overhead limit exceede
d
       at net.sf.l2j.ConsoleLogFormatter.format(ConsoleLogFormatter.java:45)
       at java.util.logging.StreamHandler.publish(Unknown Source)
       at java.util.logging.ConsoleHandler.publish(Unknown Source)
       at java.util.logging.Logger.log(Unknown Source)
       at java.util.logging.Logger.doLog(Unknown Source)
       at java.util.logging.Logger.log(Unknown Source)
       at net.sf.l2j.gameserver.model.L2Spawn.doSpawn(L2Spawn.java:448)
       at net.sf.l2j.gameserver.model.L2Spawn.init(L2Spawn.java:368)
       at net.sf.l2j.gameserver.datatables.SpawnTable.fillSpawnTable(SpawnTable
.java:116)
       at net.sf.l2j.gameserver.datatables.SpawnTable.<init>(SpawnTable.java:59
)
       at net.sf.l2j.gameserver.datatables.SpawnTable.<clinit>(SpawnTable.java:
44)
       at net.sf.l2j.gameserver.GameServer.<init>(GameServer.java:448)
       at net.sf.l2j.gameserver.GameServer.main(GameServer.java:835)
Exception in thread "GeneralSTPool-5" java.lang.OutOfMemoryError: GC overhead li
mit exceeded
       at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject
.addConditionWaiter(Unknown Source)
       at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject
.awaitNanos(Unknown Source)
       at java.util.concurrent.DelayQueue.take(Unknown Source)
       at java.util.concurrent.ScheduledThreadPoolExecutor$DelayedWorkQueue.tak
e(Unknown Source)
       at java.util.concurrent.ScheduledThreadPoolExecutor$DelayedWorkQueue.tak
e(Unknown Source)
       at java.util.concurrent.ThreadPoolExecutor.getTask(Unknown Source)
       at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
       at java.lang.Thread.run(Unknown Source)

 

Pack : L2J Server Interlude , just to avoid this kind of questions

 

Has anyone seen anything like this?

I tried to install java again but nothing happened...

I would be grateful if you could help me

You need to increase the amount of java virtual ram used in gameserverstart.bat

which the configuration memory of your computer?

post the file here gameserver.bat

is on your part search for guides to expand your virtual memory ...

Create an account or sign in to comment

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.