question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Memory leak on 1.16.1 with 4.16.0

See original GitHub issue

*Description of issue:

Our server starts lagging, so I made a heap dump. In the dump, Jobs BlockProtection was one of the biggest problems. Please fix this!

Picture of the leak in VisualVM (taking lots of memory) https://cdn.discordapp.com/attachments/669984865982218264/735824931505569832/Screenshot_8.png

Config section

General:
    # Enable blocks protection, like ore, from exploiting by placing and destroying same block again and again.
    # Modify restrictedBlocks.yml for blocks you want to protect
    PlaceAndBreakProtection: true
    # For how long in days to keep block protection data in data base
    # This will clean block data which ones have -1 as cooldown value
    # Data base cleanup will be performed on each server startup
    # This cant be more then 14 days
    KeepDataFor: 1

Server Type (Spigot/Paperspigot/etc):

Paper, 1.16.1

Server Version (using /ver):

Paper 110

OPENING THIS AS IT’S STILL NOT FIXED!

https://github.com/Zrips/Jobs/blob/master/src/main/java/com/gamingmesh/jobs/container/BlockProtection.java

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:12 (3 by maintainers)

github_iconTop GitHub Comments

github_iconTop Results From Across the Web

1.16.4 memory leak : r/Minecraft - Reddit
The crash is because your PC ran out of RAM. Make sure you have enough available RAM. Close other RAM-heavy programs while playing...
Read more >
[1.12.2] Potential Memory leak detected - Modder Support
Hello, for some reason all of my Packets are leaking. This is the Code of my Packet:https://github.com/GloriousAlpaca/Leer/blob/master/Void ...
Read more >
[MC-191755] Possible Memory Leak issue with update 1.16
Since the update yesterday, my computer is suddenly being heavily taxed by running Java edition. It now overheats and watching my task ...
Read more >
Memory leak observed while running AnyConnect ssl vpn tests
Symptom: After bringing up and tearing down SSL AnyConnect sessions memory leaks were observed with the help of the memory tracking tool.
Read more >
MemoryLeakFix - Mods - Minecraft - CurseForge
A mod that fixes multiple memory leaks in minecraft. Both server-side & client-side ... For the best performance & memory usage, I recommend...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found