Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

10.3.9 - Pipes/Cables leading to Out of Memory on server #8242

Open
Scharage opened this issue Oct 2, 2024 · 1 comment
Open

10.3.9 - Pipes/Cables leading to Out of Memory on server #8242

Scharage opened this issue Oct 2, 2024 · 1 comment

Comments

@Scharage
Copy link

Scharage commented Oct 2, 2024

Issue description

Heyha, my friends and me are playing a modpak on a server, which includes Mekanism 10.3.9 . After we have placed multiple Logistical Pipes/Energy Cables we noticed our server started to lag after a while, reaching a Out of Memory at the end.

We deduced it must be the Pipes after we have profiled the server with visual vm (and removed them afterwards). Below is a screenshot of the relevant classes which climb in counts.

image
It reached about 1 millionen BasicCapabilityResolver objects in just 20 minutes runtime. And many mekanism classes also reach high levels. (We have only placed about 50 pipes in total)

Do you know how this could happen? Or pointers how we can fix that codewise? (As i understand you do not develop the earlier versions anymore, so we would try it ourselves.)

Thx for working on such a great mod :)

Steps to reproduce

No response

Minecraft version

1.20.x or earlier (No longer being developed)

NeoForge version

43.4.2

Mekanism version

Older

Other relevant versions

No response

If a (crash)log is relevant for this issue, link it here: (It's almost always relevant)

No response

@thiakil
Copy link
Member

thiakil commented Oct 3, 2024

first of all, is that a heap dump view? If not I don't see the relevance to an out of memory error

second, you'd need to locate where things are being allocated - you could have some yo-yo chunkloading going on (loading and then unloading due to another poorly coded mod)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants