Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Potential memory leak? #964

Open
thesquidghost opened this issue Aug 23, 2024 · 4 comments
Open

Potential memory leak? #964

thesquidghost opened this issue Aug 23, 2024 · 4 comments
Labels
bug Something isn't working

Comments

@thesquidghost
Copy link

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 thesquidghost added the bug Something isn't working label Aug 23, 2024
@AoElite
Copy link
Contributor

AoElite commented Aug 23, 2024

@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

@jtJava
Copy link
Contributor

jtJava commented Aug 23, 2024

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

@thesquidghost
Copy link
Author

@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.

@casperwtf
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
4 participants