Astral Sorcery

Astral Sorcery

63M Downloads

Client will freeze and close after 5 minutes in-game

capSAR273 opened this issue ยท 3 comments

commented

Modpack: Direwolf20 for MC 1.16, version 1.1.0

https://github.com/FTBTeam/FTB-Presents-Direwolf20-1.16/issues/21

Removing Astral Sorcery from the pack fixed the memory leaking, the image in the issue above has the java dump breakdown. Looks like a lot of vectors full of collision data.

commented

The problem is probably here:

protected boolean removeEldestEntry(final Map.Entry<K, V> eldest) {

It's not discarding old entries

commented

Can confirm. This issue brought my server to its knees. 20TPS to 3TPS until it eventually crashed (span of 10 minutes after noticing the lag).

commented

Java's LinkedHashMap has a feature that allows for removing old entries, via "removeEldestEntry"as ZeroNoRyouki pointed out. This doesn't always work and breaks at random occasions it seems.