matpow2 / cuwo

Open server and utilities for Cube World
GNU General Public License v3.0
170 stars 49 forks source link

Possible Memory Leak Crash #202

Open Endimmion opened 6 years ago

Endimmion commented 6 years ago

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 [...]

matpow2 commented 6 years ago

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.

Endimmion commented 6 years ago

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