Pixelmon Mod - Bug tracker

Pixelmon 9.1.11, Memory Overhead from SpawningHeightmap fix completed for upcoming version

Ticket description:
Server: arclight-1.16.5-1.0.25-SNAPSHOT-aeef36e9
Pixelmon: 9.1.11
Other mods: Should not matter here

Explanation:
Since we updated pixelmon to 9.1.11 on SmashMC, we have had a highly increased memory consumption on the server leading to an abnormal amount of gc's causing the server to loose tps and feeling laggy in general.
We created HDumps, profiled them and found that com.pixelmonmod.pixelmon.api.spawning.util.SpawningHeightmap retained ~ 5 Gigabytes of RAM (screen attached).
The class caches too many heightmaps with the amount of chunks that are loaded on our servers with 50-80 players online.
Class has been added with 9.1.11 update.

Screenshot:
Image
https://cdn.discordapp.com/attachments/1118378570876715020/1226321039538257930/image.png?ex=66245777&is=6611e277&hm=1f9401a990901b9293849f3ed75a7fc54752b6cd51aa04561aa7ff55f1f4632a&

Comments

#31667 Posted by thewickening » 04 Jun 2024 23:20

Can confirm, we are having similar issues as well.

I went as far as upgrading to a new hosting company because I saw it was GC related and nothing I did fixed it. I needed the better box anyway, so meh.

But yeah, its completely random when it happens and its just out of the blue, sometimes its fine after 30 seconds or less, sometimes it crashes with a java heap error.

Ticket details

  • Ticket ID: 21719
  • Project: Pixelmon Mod
  • Status: Fix completed for upcoming version
  • Component: Other
  • Project version: 1.16.5-9.x.x
  • Priority: Normal
  • Severity: Major
  • Forge/Sponge: arclight-1.16.5-1.0.25-SNAPSHOT-aeef36e9
  • What else would be useful to know?: (unknown)
  • Assigned to: Waterdude
  • Reported by: NotKili (Send PM)
  • Reporter's tickets: (List all tickets)
  • Reported on: 07 Apr 2024 12:45
  • Ticket last visited by: Waterdude on 17 Jun 2024 11:45
JOIN THE TEAM