AntiPopup icon indicating copy to clipboard operation
AntiPopup copied to clipboard

[BUG] Large memory usage due to PacketEvents dependency

Open BitByLogics opened this issue 1 year ago • 1 comments

Describe the bug

While reviewing some heap reports from spark I noticed that AntiPopup was 13th in order of memory used. I assume this is something that PacketEvents is doing as AntiPopup doesn't use the "WrappedBlockState" object.

To Reproduce

  1. Boot up a server with AntiPopup (with spark)
  2. Take heap summary report using /spark heapsummary
  3. Large memory usage shows

image

Expected behavior

No response

Operating System

Windows

Server Software

Purpur 1.21.1-2286-366af80

Server Version

Not Listed

Proxy Type

None

Plugin List

AntiPopup, APIByLogic, Citizens, DecentHolograms, DisplayEntityEditor, Essentials, EssentialsSpawn, FastAsyncWorldEdit, LogicUtils, LuckPerms, Multiverse-Core, PlaceholderAPI, ProtocolLib, TAB, Tebex, TidalCore, Vault, VoidGen, Votifier, WorldGuard

Server logs

N/A

BitByLogics avatar Aug 27 '24 06:08 BitByLogics

https://github.com/retrooper/packetevents/issues/965 https://github.com/retrooper/packetevents/issues/964

Will update PE once resolved

KaspianDev avatar Aug 27 '24 06:08 KaspianDev

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. Mention repository owner if you still need help.

stale[bot] avatar Oct 26 '24 08:10 stale[bot]