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

    • Luniage - a custom Interlude client on Unity, with its own server Hi everyone. I've been quietly working on this for a long time and I think it's finally at the point where it's worth showing. Short version: it's Interlude, but the client and the server are both mine. The client is a custom one, built in Unity — not a patched or reskinned original. The server is written from scratch in C#. The only thing that comes from the old game is the content: the world, the models, the animations, the sounds, the icons, the interface art. The game looks and feels like the game you know. Everything underneath it is new. Why do this at all   Because the old client is a 2004 executable and anyone who has ever tried to add something to it knows exactly how that conversation ends. You can't add a window. You can't change how a skill looks. You can't fix a bug that's staring you in the face. Every server that wanted a feature of its own had to fake it through HTML dialogs and system messages, because the client simply won't bend. At some point it stops being worth fighting. I'd rather keep the game and rebuild everything around it. Where it is right now   You can sit down and play it. Not a tech demo, not a walk-around-and-look-at-the-trees build - an actual character. Most of the game is in: movement, combat, the skill system with its real formulas and timings, items and equipment, enchanting, shops and player trade, quests, parties, clans, and the whole interface that ties it together. Progression works from level 1 all the way through A grade - you can level, gear up, join a clan and run content today. What's missing isn't the foundation. It's the top end - and that's exactly where the work is pointed next.   Videos     What I'm working on now   Castle sieges and the Olympiad. The two biggest systems the game has, the ones that turn a working world into a server people actually stay on. And visual effects. They already run, but "runs" and "looks the way you remember it" are two very different things, and closing that gap turned out to be a much longer road than I expected. I'm going through them one by one. Does it run outside Windows   Yes. It's a Unity project, so Windows, Mac and Linux are just build targets. I actually develop on a Mac, which has kept the whole thing honest about staying portable. Will it work with my existing server   No, and it never will. The client talks to my server and nothing else - that's the trade I made, and it's the reason everything above is possible in the first place. If you're looking for a drop-in replacement client for a setup you already have, this isn't it. What's the goal   First and foremost, to launch my own project on it. That's what the client and the server are being built for, and that's what sets the priorities. Longer term, I'd like to open-source it. This community has spent twenty years working around a client nobody can touch, and I think the honest ending to this story is handing over something people can actually build on. I'm not putting a date on that - first it has to be good enough to be worth someone else's time. Can I try it   Not yet. When there's a build worth handing out, it gets posted here first. In the meantime I'll be posting progress regularly, and I read every reply. If you've run a server, built a client, or just spent a decade staring at this game and know exactly which detail everyone gets wrong — please say so. A good share of what's right in this project is right because somebody pointed at a screenshot and said "that's not how it looked." Thanks for reading.  
  • 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..