Skip to content

Memory leak in QEMULauncher causes macOS to suspend UTM #4958

Description

@legsak1mbo

Describe the issue
QEMULauncher appears to leak memory. Running a fairly simple Debian VM, about once a week I find that the host has suspended UTM having run out of memory and I have to force quit it.

Configuration
UTM Version: 4.1.5 (74)
macOS Version: 13.0.1 (22A400)
Mac Chip: M1
Memory: 16GB
VM: Debian 5.10.0-19-arm64

Crash log
No crash log, UTM has to be force quit.

Debug log
As above, I can't get the debug log as UTM is unresponsive and has to be force quit.

I've updated to UTM 4.1.5 but the issue remains.

Note my symptoms are similar to #4449 which is marked as closed. I'm running a fairly simple Debian VM which is itself running Home Assistant. About once a week I find that QEMULauncher has used up all available memory and UTM has to be Force Quit.

This happened earlier and despite me rebooting the host and relaunching everything QEMULauncher I've watched the utilisation keep creeping up. It's currently sitting at ~4.7GB (the VM has 4GB assigned to it).

Running top on the VM shows 3293.7 MiB total with 1703.8 free and zero swap utilisation.

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