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

WrappedBlockState Memory Leaks #1101

Open
UnitieG opened this issue Dec 28, 2024 · 2 comments
Open

WrappedBlockState Memory Leaks #1101

UnitieG opened this issue Dec 28, 2024 · 2 comments
Labels
bug Something isn't working

Comments

@UnitieG
Copy link

UnitieG commented Dec 28, 2024

Describe the bug
I have recently discovered that WrappedBlockState has a memory leak. And It cause the server to crash.

Software brand

[08:13:39 INFO]: Checking version, please wait...
[08:13:39 INFO]: Current Purpur Version: 1.21.1-2329-803bf62 (MC: 1.21.1)

Plugins

[08:16:01 INFO]: Paper Plugins: (2):
[08:16:01 INFO]:  - FancyHolograms, FancyNpcs
[08:16:01 INFO]: Bukkit Plugins: (36):
[08:16:01 INFO]:  - AdvancedBan, ajLeaderboards, AutoPickupPlus, AxVaults, CraftingStore, CrazyEnchantments, DiSky, Essentials, ExcellentCrates, FastAsyncWorldEdit
[08:16:01 INFO]:  FreedomChat, goBrush, GrimAC, *HeapDump, Images, ItemEdit, LuckPerms, MineResetLite, Multiverse-Core, MythicMobs
[08:16:01 INFO]:  NexusAuctionHouse, nightcore, packetevents, PlaceholderAPI, Shopkeepers, SkBee, Skript, skript-gui, skript-reflect, TAB
[08:16:01 INFO]:  Tebex, Vault, ViaBackwards, ViaVersion, Vulcan, WorldGuard

How To Reproduce
It seem to only occurred when players open a bunch of crates with ExcellentCrates.
I have yet tested further after looking at the memory dump.

Expected behavior
Expeected it to work properly

Screenshots
image

Additional context
I have updated packetevents to 2.7.1+3d5c294f6-SNAPSHOT yet its not resolved.
If you said "Your server don't have enough ram". Is 80gb of ram not enough to run packetevents?
https://spark.lucko.me/5pNoZLuuun

@UnitieG UnitieG added the bug Something isn't working label Dec 28, 2024
@Tofaa2
Copy link
Contributor

Tofaa2 commented Dec 28, 2024

Have you tried contacting excellent crates author? This could be a leak on their end.

@booky10
Copy link
Collaborator

booky10 commented Dec 28, 2024

I dont see a leak in your screenshot
Is packetevents actually "leaking" memory, or does it just use a constant amount of memory?

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

No branches or pull requests

3 participants