Any good tools for diagnosing memory leaks?

Francis Baster

New Member
Jul 29, 2019
295
0
0
When a server loads a certain area on my map, a memory leak occurs. I am wondering if anyone can recommend some tools for diagnosing which mod / blocks could be causing the issue.

Here is a JVisualVM screenshot of the problem occurring on my test server. -Xmx is only set to 1G but the results on my main server (-Xmx4G) are very similar. Trend continues until GC fails and the server becomes unresponsive or crashes with GC overload.

I have reproduced this both on MCPC+ and plain Forge.

Modpack: Unleashed 1.1.7, BOP + NetherOres + Reliquary enabled
Java: 1.7.0_45 64bit
Forge: 7.8.1.738
 

Connor Gavitt

New Member
Jul 29, 2019
1,091
-1
0
This is a question I have myself.

However in the crash report is shows the id and location of a entity which may have caused this. I'm unsure though.
 

Francis Baster

New Member
Jul 29, 2019
295
0
0
This is a question I have myself.

However in the crash report is shows the id and location of a entity which may have caused this. I'm unsure though.

I suspect that the entities named in the crash report are just the last entities being ticked when the garbage collection finally failed. I'll take a look there though just to be sure.