Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Massive memory leaks on Mac OS when in background #71

Open
yaksher opened this issue Sep 20, 2021 · 2 comments
Open

Massive memory leaks on Mac OS when in background #71

yaksher opened this issue Sep 20, 2021 · 2 comments
Labels
bug Something isn't working

Comments

@yaksher
Copy link

yaksher commented Sep 20, 2021

Description

hello_world example has memory leaks (up to 50 gigabytes) when left in the background on Mac OS X

Repro steps

Run the hello world example in release mode, then leave it in the background

System Information

Computer information: Mac OS 11.5.2, 16 Inch MacBook Pro 2019, AMD Radeon Pro 5500M 4 GB
cargo version 1.53
imgui-wgpu v0.17.0
winit v0.24.0
wgpu-hal v0.10.7
wgpu v0.10.1
imgui v0.7.0
imgui-winit-support v0.7.1

@yaksher yaksher added the bug Something isn't working label Sep 20, 2021
@cwfitzgerald
Copy link
Collaborator

There's some issues with newer versions of MacOS not running garbage collection of resources while in the background. gfx-rs/wgpu#1783 is the upstream issue to this.

@yaksher
Copy link
Author

yaksher commented Sep 20, 2021

The linked issue appears to be M1-only while the issue here is occurring even on my Intel CPU laptop.

@yaksher yaksher changed the title Massive memory leaks Massive memory leaks on Mac OS Sep 20, 2021
@yaksher yaksher changed the title Massive memory leaks on Mac OS Massive memory leaks on Mac OS when in background Sep 20, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants