packetevents icon indicating copy to clipboard operation
packetevents copied to clipboard

Potential memory leak?

Open thesquidghost opened this issue 1 year ago • 4 comments

Describe the bug class com.github.retrooper.packetevents.protocol.world.states.WrappedBlockState @ 0x4cca67818 - 81,321,736 (6.82%) bytes.

Software brand purpur 1.21-2880 linux debian 11 16GB ram, 13500 allocated for server.

Plugins

Screenshot 2024-08-23 at 1 03 14 PM

Screenshots

Screenshot 2024-08-23 at 1 00 14 PM

Additional context Keep in mind that this is just me going through heaphero after I noticed that the server RAM had ran away to >10GB this morning.

thesquidghost avatar Aug 23 '24 17:08 thesquidghost

@thesquidghost Can you send one that shows more information, like the full reference map, like to see what in WrappedBlockState is taking up so much memory

AoElite avatar Aug 23 '24 19:08 AoElite

It's normal for the blockstate class to take up 80 MB, it's a lot, but not the cause of your memory leak

jtJava avatar Aug 23 '24 20:08 jtJava

@thesquidghost Can you send one that shows more information, like the full reference map, like to see what in WrappedBlockState is taking up so much memory

I'd rather PM on discord a link to the heaphero report- only because I'm not exactly sure what could or could not be extrapolated from it. hit me on discord at same username.

thesquidghost avatar Aug 24 '24 01:08 thesquidghost

join the PE discord @ https://discord.gg/wkahnUjb

casperwtf avatar Aug 25 '24 06:08 casperwtf