matpow2 / cuwo

Open server and utilities for Cube World

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Possible Memory Leak Crash

Endimmion opened this issue · comments

When you run a cuwo server for a long time, it occurs a crash (on Windows and Linux) that seems to look like a memory leak.

Example of the crash on Windows
crash-screenshot

Out of tgen memory Gen heap Out of tgen memory Gen heap Windows fatal exception : access violation [...]

This is a very important bug, and I'd like to fix it ASAP. It's caused by the gen heap not freeing some memory, since a sector/chunk is swapped out, causing it to never be freed completely.

Is there a way to help you finding what is causing this? Like running the server with more debug option?