Jump to content
  • 0

[Dev Help] Question


Question

Posted

Exception in thread "ThreadPoolExecutor-2" java.lang.OutOfMemoryError: GC overhe
ad limit exceeded
Exception: java.lang.OutOfMemoryError thrown from the UncaughtExceptionHandler i
n thread "ScheduledThreadPool-15"

Exception: java.lang.OutOfMemoryError thrown from the UncaughtExceptionHandler i
n thread "ThreadPoolExecutor-2"

Exception: java.lang.OutOfMemoryError thrown from the UncaughtExceptionHandler i
n thread "ScheduledThreadPool-5"

java.lang.OutOfMemoryError: GC overhead limit exceeded
Exception in thread "ThreadPoolExecutor-8" Exception in thread "ThreadPoolExecut
or-1"
Exception: java.lang.OutOfMemoryError thrown from the UncaughtExceptionHandler i
n thread "ThreadPoolExecutor-1"
java.lang.OutOfMemoryError: GC overhead limit exceeded

Exception: java.lang.OutOfMemoryError thrown from the UncaughtExceptionHandler i
n thread "ThreadPoolExecutor-8"

Someone can tell me why i got this error when i run gameserver?

Recommended Posts

  • 0
Posted

Dude, if it was 1g by default and you got an memory exception it only mean the project you use sucks nuts and got by default a OOME.

 

Change of pack or use VisualVM (integrated to JDK, nothing to install) in order to see where is your memory leak.

 

A normal pack without geoengine on should use, at maximum, 460mo ram (the biggest I found). aCis currently uses 260mo, with 70% quests made, expected 320mo at the end.

 

On a server using aCis, with geoengine on, and 400+ players (460 max) we had a consumption of 1,5g ram (highest 1,7g lowest 1,2g when GC was full/empty).

 

So if you got 1g as parameter with none ingame and geoengine off, you got a serious problem.

 

http://javahowto.blogspot.fr/2006/06/6-common-errors-in-setting-java-heap.html

http://www.caucho.com/resin-3.0/performance/jvm-tuning.xtp

 

http://www.drdobbs.com/jvm/visualvm-for-java-development/229403052

  • 0
Posted

new question

i finaly started the server with -Xmx3072m

and the server is blocked when spawn 58000 npc

is normal to spawn so much npc ?

[23:26:17]  INFO SpawnManager: spawned 16000 npc for group: NONE
[23:26:17]  INFO SpawnManager: spawned 17000 npc for group: NONE
[23:26:17]  INFO Naia Tower Manager: Loaded 12 rooms
[23:26:19]  INFO SpawnManager: spawned 36000 npc for group: NONE
[23:26:19]  INFO SpawnManager: spawned 37000 npc for group: NONE
[23:26:20]  INFO SpawnManager: spawned 51000 npc for group: NONE
[23:26:22]  INFO SpawnManager: spawned 58000 npc for group: NONE
[23:26:23]  INFO SpawnManager: spawned 87000 npc for group: NONE
[23:26:23]  INFO SpawnManager: spawned 88000 npc for group: NONE
[23:26:24]  INFO SpawnManager: spawned 101000 npc for group: NONE
[23:26:28]  INFO SpawnManager: spawned 120000 npc for group: NONE
[23:26:28]  INFO SpawnManager: spawned 122000 npc for group: NONE
[23:26:28]  INFO SpawnManager: spawned 131000 npc for group: NONE
[23:26:28]  INFO SpawnManager: spawned 132000 npc for group: NONE
[23:26:29]  INFO SpawnManager: spawned 134000 npc for group: NONE
[23:26:29]  INFO SpawnManager: spawned 136000 npc for group: NONE
[23:26:29]  INFO SpawnManager: spawned 138000 npc for group: NONE
[23:26:29]  INFO SpawnManager: spawned 139000 npc for group: NONE

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


  • Posts

    • No complicated KYC, instant setup after purchase!  Boost your connection speed and secure your privacy today!  Official Website: https://novproxy.com?kwd=tt-max
    • I don't know this guy and I don't care about him or the server. What I want to say I already do it. And yes, it does seem like he has some mental problems to make up these stories. 
    • L2JForge Edition Update Revision: V1.0.119  Update: 15 June – 1 July 2026  Fixes & Improvements Fixed PawnShop pagination and inactive Community Board actions. Added thread-safe caching to the PawnShop system. Fixed MMOTopVote vote tracking. Fixed PvP Event participant cleanup. Restored the missing PvP Ranking broadcast. Improved CTF flag handling and zone validation. Added Try Skin / Hat Preview handlers to the Community Board. Improved character skin appearance refreshes without requiring a restart. Improved NPC positioning to reduce train and collision abuse. Fixed Seal of Ruler casting from invalid artifact positions. Added stricter castle artifact, range and height validation. Fixed character restoration stability during Enter World. Reworked Community Board Home, Shop, Bosses and Events sections. Added live Raid/Epic Boss status and respawn information. Added upcoming PvP and GvG event schedules. Integrated character services, settings and statistics into the Community Board. Moved Vote Rewards from a voiced command into the Character Menu in Community Board. Removed the obsolete Achievements / .rewards system.  Removed unused multilingual resources and simplified datapack loading. Improved datapack startup and HTML cache stability. Added automatic build revision and build-date metadata. Reorganized runtime libraries and standardized generated server jars. Refined the Player, Creature, GameClient, Clan and Frintezza systems. Performed extensive source cleanup and reliability improvements. Updated build configuration and repository exclusions.  Work in Progress Development continues with additional gameplay fixes, performance improvements, system cleanup and more upgrades already in progress..
    • this is how i feel about a 1 post acc clearly a friend of the scammers trying to defend it LOL anyways... i wish this wasnt real. i cant make this up.  
    • 𝐈𝐌𝐏𝐑𝐎𝐕𝐄𝐃 𝐂𝐋𝐀𝐒𝐒𝐈𝐂 𝟐.𝟓 - 𝐋𝐈𝐍𝐄𝐀𝐆𝐄 𝐈𝐈 𝐄𝐈𝐍𝐇𝐎𝐕𝐀𝐍𝐓 - Opening Date: 10th July 2026 - Time: 20:00 GMT+3 - Mid Rate x3 - Adena x3 - 100% Drop Rate - Quest Reward Adena x3 - Vitality System - Classic Zaken 2.5 Based - Improved Classic Gameplay - Improved Buff System - No Dual Box - No Pay to Win - 7 Members Party System - Dynamic Stages Progression - Reworked Support Classes - Reworked Skills & New Skills - New Skill Visual Effects - Improved Quests & Better Rewards - Daily Missions & Daily Quests - Weekly Solo Instances - In-Game Wiki with .wiki Command - Olympiad Rework - Castle Siege Improvements - Grand Boss & Raid Boss Progression ⚔ Designed to deliver a competitive, rewarding, and long-term Classic experience without destroying the original Lineage II feeling.   Don't forget to check the in-game wiki and discover all the unique features and gameplay improvements we prepared for you! Website: https://l2einhovant.net/en Discord: https://discord.gg/VfNngPrzaf Instagram: https://www.instagram.com/l2einhovant_classic/ Youtube: https://www.youtube.com/@L2Einhovant TikTok: https://www.tiktok.com/@vedi2300
  • Topics

×
×
  • Create New...

Important Information

This community uses essential cookies to function properly. Non-essential cookies and third-party services are used only with your consent. Read our Privacy Policy and We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue..