Skip to content

Excessive memory use on startup, to the point of exhaustion; progressively worsening over time? #16

Description

@SubordinalBlue

Minecraft Version

26.1.2

Modloader

NeoForge 26.1.2.75

Mod version

26.1.2.4

Latest version?

  • Yes

Repeatable?

  • Yes

Link to log files

Crash report: https://mclo.gs/iANQOY7
Latest log: https://mclo.gs/h5OdfP4

Steps to reproduce the issue

Unknown.

It's "repeatable" in the sense that one of our two Craftoria 2 servers was exhausting the heap on every attempt to start up.

(more details below)

Description of the issue you are having

The story so far:

Our Craftoria 2 server for North America (C2:NA), began exhausting the heap on startup a few days ago; the other server, EU, is fine and has roughly as active a player base as the NA server

The logs were not helpful in pinpointing the root cause then.

A fresh world would start fine, without apparent heap usage in excess of normal.

At that time, changing the GC algo allowed the server to squeeze in a full startup before exhausting the memory we currently have on that host.

Today it began to exhaust the heap on startup again.

Updating the server to our latest pack version at least got us a proper watchdog timeout and crash-report.

Still heap exhaustion, but stack trace led me to try removing Accelerated Decay, and that did remove the problem. Memory usage is as expected now.

Given all that, I suspect a problem rooted in the world state, that can get progressively worse, linked to Accelerated Decay.

Will share more details if I find them; not sure what to look for in the world data.

Information

  • I have provided as much information as possible

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions