Skip to content

Memory leak in cosmic-settings #843

@andre4ik3

Description

@andre4ik3

After exiting from COSMIC, there were still 3 instances of cosmic-settings left running (from me opening & closing it from within COSMIC), then while I was in KDE Plasma, the cosmic-settings instances were leaking memory in the background, and two were killed by the kernel OOM killer: Kernel OOM logs. The third one I recorded on video, it went up to around 94 GiB and then hovered there. However it would not respond to quit requests, I had to send a SIGKILL for it to close, even after it stopped growing in memory usage.

cosmic-settings.mp4

After I killed it, it sent this in journal:

app-cosmic-com.system76.CosmicAppList-344252.scope: Consumed 7min 19.390s CPU time, 94.1G memory peak.

OS: latest NixOS unstable, using latest nixos-cosmic flake
Version: cosmic-settings-1.0.0-alpha.4-unstable-2024-12-17

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    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