RelativityMC / raknetify

A Fabric mod / Velocity plugin / BungeeCord plugin that uses RakNet to improve multiplayer experience significantly under unreliable and rate-limited connections.
MIT License
148 stars 2 forks source link

memory leaks on server #32

Open jitterdev opened 1 year ago

jitterdev commented 1 year ago

Describe the bug server leaks memory rapidly

To Reproduce Steps to reproduce the behavior:

  1. ???
  2. memory leak
  3. server runs out of memory and crashes

Expected behavior server doesnt memory leak

Runtime info (please complete the following information):

Crash reports / logs https://mclo.gs/VTt6fzi (log) https://mclo.gs/6qJJBOq (crash report)

Other mods check the crash report above

Checklist

^ testing this atm, not sure if it fixed anything yet though

Additional context spark heap summary https://spark.lucko.me/5CQALSqQXO

line 9290 of the log seems to be of signifigance here

jitterdev commented 1 year ago

still seems to happen on the latest build https://mclo.gs/LBVKLHF

ishland commented 1 year ago

The memory leak appears to be coming from something else. Try removing bluemap and see if it still happens. If you still doubt its raknetify then add -XX:+HeapDumpOnOutOfMemoryError to the jvm flags and provide the .hprof file generated if it still happens.

ishland commented 1 year ago

still seems to happen on the latest build https://mclo.gs/LBVKLHF

This does not indicate an out of memory and is running completely normal.