kabachuha / MinecraftEcologyMod

Mod, that adds pollution and climate changing system to Minecraft
http://minecraft.curseforge.com/projects/ecology-mod
MIT License
19 stars 10 forks source link

CPU and Memory usage from WPT Threads #18

Open jkroepke opened 6 years ago

jkroepke commented 6 years ago

Hi there,

today I found VisualVM to profile our Minecraft server.

While profiling the memory usage, I found that the WPT Thread has a high memory usage.

bildschirmfoto 2017-12-28 um 03 52 41

We are in early game so you have a lot of mods, but our world is still empty (10 pulverizers, some garden for pam, not more..)

From CPU side, it looks like ObjectUtils.equals is really, really slow, not?

bildschirmfoto 2017-12-28 um 03 56 26
jkroepke commented 6 years ago

Hi,

i'm not a VisualVM pro, but i'm confused about the 500GB allocated memory.

kabachuha commented 6 years ago

Hello, @jkroepke ! Could you test the new mod version(as it becomes available) and check the performance?

Thank you for the issue and that profiling.

jkroepke commented 6 years ago

At this moment, I can not re-test it. Sorry.

jkroepke commented 6 years ago

Sorry. I would not touch minecraft on the next months. So feel free to close it ;)

But I'm happy to listen that on my next minecraft session this mode will perform better as the my last.