Skip to content

Principia (with JNSQ) is filling RAM with 500 MB/s of garbageΒ #4448

@Krazy0

Description

@Krazy0

After much troubleshooting stuttering issues, I built a new Principia + JNSQ + MemGraph install and confirmed it's generating an absurd amount of RAM garbage. JNSQ alone (with dependencies) is not doing this. The GC several times a second is causing stuttering. Somehow it doesn't crash. The debugging narrative is here FYI but probably not much more help. https://forum.kerbalspaceprogram.com/topic/229808-stuttering-from-100-mbs-memory-leak/#comment-4501916

KSP.log

Player.log

glog.zip

https://i.imgur.com/OUZJHIv.png

I suspect older versions of Principia are also doing this too based on recollection of stuttering, but I haven't tested.

Update: I tested on an older KSP install with Principia Lame (and about 80 mods including JNSQ) and it also has very similar behavior.
Update 2: Also tested an even older Principia "2022082708" stock system, no JNSQ. Garbage generation at KSC is worse, about 30 MB collected every 3 sec. Tracking station is similar to later versions, about 400 MB/s.
Update 3: an old KSP 1.12.3 modded install without Principia is better in the tracking station; GC is about 8 MB every 10 s. Trivial stuttering.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions