Skip to content
contaria edited this page Apr 7, 2023 · 13 revisions

Currently, there are 9 memory leak fixes in the mod (v1.0.0).

Both

  • Biome Temperature Leak Fix. Turns out crap loads of memory was being used by a biome temperature cache that didn't even work correctly. Now it does and you see a significant performance boost for large biome temperature operations while using a lot less memory
  • Entity Brain does not clear its memories when it dies. MC-260605
  • Custom TagKeys never get cleared, causing a memoryleak with lots of custom recipes, tags, loot tables, etc. MC-248621
  • Drowneds first navigation never gets cleared from memory. MC-202246

Client

  • The target and crosshair don't get released when going to the main menu, this in term actually causes the entire world to stay loaded.
  • Custom Payload packet's buffer leaks all the time.
  • TextureUtil allocates memory for the buffer, although when an exception happens memory is leaked.
  • Huge Screenshot allocates memory for the image, although when an exception happens memory is leaked.

Server

  • Sponge powered creates a list that is never used once the mixins are first initialized. This list can be very very large and grows with the amount of mods loaded
Clone this wiki locally