I would like to discuss the memory leak issue when connecting from velocity to fabric.
I have several paper and fabric servers connected to velocity.
Among them, only the fabric server is going up in memory usage every time a player enters. The environment is as follows.
Ubuntu 22.04
openjdk version "17.0.7" 2023-04-18
Device memory 96G
Minecraft version 1.19.4 ~ 1.20.1
Startup java options
The results show that the Other category is the source of memory leaks.
The Other category is related to DirectByteBuffer.
Maybe the Buffer used to process some packets is not being released. However, I could not figure it out.
As additional information, changing the value of network-compression-threshold will also change the amount of increase.
The increase is quite large when network-compression-threshold=-1.
Finally, these do not seem to be caused by the current FabricProxy-Lite mod, but I wonder if some additional processing is needed when connecting to velocity?
I would like to discuss the memory leak issue when connecting from velocity to fabric.
I have several paper and fabric servers connected to velocity. Among them, only the fabric server is going up in memory usage every time a player enters. The environment is as follows. Ubuntu 22.04 openjdk version "17.0.7" 2023-04-18 Device memory 96G Minecraft version 1.19.4 ~ 1.20.1 Startup java options
To investigate this problem, I used NativeMemoryTracking to find out which category was consuming the most. This is the result.
The results show that the Other category is the source of memory leaks. The Other category is related to DirectByteBuffer. Maybe the Buffer used to process some packets is not being released. However, I could not figure it out.
As additional information, changing the value of network-compression-threshold will also change the amount of increase. The increase is quite large when network-compression-threshold=-1.
Finally, these do not seem to be caused by the current FabricProxy-Lite mod, but I wonder if some additional processing is needed when connecting to velocity?