Skip to content

[Performance: <NeoForge/Fabric/NeoForge & Fabric>]: Short description #135

@zinck78

Description

@zinck78

Minecraft Version

1.21.7

Moonrise Version

1.21.7-32-main@e792779

Mod Loader

Both (NeoForge and Fabric)

Logs and Crash Reports

I'm using this plugin called mythicdungeons in my paper server and i keep seeing issues with moonrise appear in heapdumps i create due to memory leaks. I'm hoping for some information on how to combat this problem.

Profiler Data

https://spark.lucko.me/YbmNggJ1Xa

Additional Context

16 instances of “ca.spottedleaf.moonrise.patches.chunk_system.scheduling.ChunkTaskScheduler”, loaded by “java.net.URLClassLoader @ 0x3cd8001b8” occupy 703,223,312 (18.91%) bytes.

Biggest instances:
•ca.spottedleaf.moonrise.patches.chunk_system.scheduling.ChunkTaskScheduler @ 0x3db2ab538 - 47,316,168 (1.27%) bytes.

Most of these instances are referenced from one instance of “net.minecraft.server.dedicated.DedicatedServer”, loaded by “java.net.URLClassLoader @ 0x3cd8001b8”, which occupies 3,698,200 (0.10%) bytes.

Thread “net.minecraft.server.dedicated.DedicatedServer$1 @ 0x3ce0003d0 Server console handler” has a local variable or reference to “net.minecraft.server.dedicated.DedicatedServer @ 0x3ce1f9c10” which is on the shortest path to “net.minecraft.server.dedicated.DedicatedServer @ 0x3ce1f9c10”. The thread net.minecraft.server.dedicated.DedicatedServer$1 @ 0x3ce0003d0 Server console handler keeps local variables with total size 25,208 (0.00%) bytes.

The stacktrace of this Thread is available. See stacktrace. See stacktrace with involved local variables.

Keywords
ca.spottedleaf.moonrise.patches.chunk_system.scheduling.ChunkTaskScheduler
java.net.URLClassLoader
net.minecraft.server.dedicated.DedicatedServer

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions