Skip to content

Switching desktops causes a spike in usage #8080

@rendaoer

Description

@rendaoer

Bevy version

v0.10.0

[Optional] Relevant system information

If you cannot get Bevy to build or run on your machine, please include:

  • the Rust version you're using (you can get this by running cargo --version)
    cargo 1.67.1 (8ecd4f20a 2023-01-10)
  • the operating system or browser used, including its version
    macOS Ventura 13.2.1

If your bug is rendering-related, copy the adapter info that appears when you run Bevy.

SystemInfo { os: "MacOS 13.2.1 ", kernel: "22.3.0", cpu: "Apple M1", core_count: "8", memory: "8.0 GiB" }

What you did

On macOS, I'm used to using multiple desktops for windows [main desktop, browser, VS Code], and when I run a bevy program, a window is created on the main desktop, which is all fine at that point. By the time I switch to another desktop, the footprint of this bevy program goes up a lot, causing my computer to start heating up. This problem has nothing to do with my code, it just needs to be run and it will do that.

Additional information

Other information that can be used to further reproduce or isolate the problem.
This commonly includes:

  • screenshots
    Normal: image

Switch desktop for a while and then come back: image

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-WindowingPlatform-agnostic interface layer to run your app inC-BugAn unexpected or incorrect behaviorC-PerformanceA change motivated by improving speed, memory usage or compile timesO-MacOSSpecific to the MacOS (Apple) desktop operating system

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions