[SPIGOT-1211] Memory Leak Created: 28/Sep/15  Updated: 23/Nov/15  Resolved: 23/Nov/15

Status: Closed
Project: Spigot
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Bug Priority: Major
Reporter: MarcoCount Assignee: Unassigned
Resolution: Done Votes: 0
Labels: None

Attachments: JPEG File 812322514_72388_3114383878196358439.jpg     PNG File Cattura2.PNG    
Issue Links:
Duplicate
duplicates SPIGOT-1301 Memory Leak Part Two Closed

 Description   

My server has 20 Gb of Ram and yesterday it crashed out of memory.
Sorted by Shallow Heap: http://pastebin.com/au1dMXdu
Sorted by Retained Heap: http://pastebin.com/mUmuWir1

I can also provide the HeapDump file.
P.s: Today it is doing the same thing with 25 Gb of Ram



 Comments   
Comment by MarcoCount [ 15/Oct/15 ]

Can you check this, please?

Comment by MarcoCount [ 07/Oct/15 ]

I can't start my server with only 8 gb of ram beacause it has about 100 player and I can't afford to make it lag and then crash, really sorry.

But I have some news.
Today I started with a jar built on 2 September and no memory leaks are happening...

Comment by MarcoCount [ 03/Oct/15 ]

OK I will try in the next few days.
In any case my problem started happening from 12 September when I updated spigot.
I'm not really good in java bug it can be this commit? https://hub.spigotmc.org/stash/projects/SPIGOT/repos/spigot/commits/da71ee9abd99ea2fbcb844e2a5b4388b8edfeb63

Comment by md_5 [ 29/Sep/15 ]

I bet you have a bugged plugin.
Allocate 8gb of ram and use -XX:+HeapDumpOnOutOfMemoryError

When it crashes, send heap dump

Comment by MarcoCount [ 29/Sep/15 ]
  • it is using so much ram
Comment by MarcoCount [ 29/Sep/15 ]

But it is using!
With 20gb it crashes out of memory

Comment by md_5 [ 29/Sep/15 ]

We develop on computers with 16gb of ram or less, you dump can't really be larger than 12gb uncompressed.
If you want this to be looked into please post a dump with your server using much less ram.
Even with 300+ players Spigot doesn't need so much ram.

Comment by MarcoCount [ 29/Sep/15 ]

I can't do that but i can put it (it's about 12 GB zipped) on my /var/ww/something so you can download it.
Do you want me to do it?

Comment by md_5 [ 29/Sep/15 ]

We can look at a heap dump (bets on plugin), but you would need to only run your server with ~8gb of ram (and compress it before uploading!)

Comment by MarcoCount [ 29/Sep/15 ]

Yea sure! http://pastebin.com/Hv8DcLAS

Comment by Black Hole [ 28/Sep/15 ]

Maybe you disabled your chunk gc. Could you link your bukkit.yml?

Generated at Tue Apr 15 11:10:02 UTC 2025 using Jira 10.3.3#10030003-sha1:d220e3fefc8dfc6d47f522d3b9a20c1455e12b7b.