-
Notifications
You must be signed in to change notification settings - Fork 970
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
Memory Leak on Boids Example on Intel Mac #6936
Comments
I'll give this a shot on my M1 to see if it's a generic issue probably next week |
For Firefox's sake, let's call this a P1, unless we can't reproduce, in which case we'll mark it P2. |
Cannot reproduce on an M1. Boids does not function at all on MVK (and in fact freezes my machine when powering a window), but runs fine on metal, without any kind of leak, no matter what I tried. debug/release, minimizing, etc. I'm not sure what exact models have fusion drives, but it seems to be an intel based model. Maybe this is different. Dropping to P2 |
@Aultus-defora can you tell your machines cpu/gpu spec? |
CPU: 3 GHz 6-core Intel Core i5 |
For the record, Firefox does not have this problem on my machine. Using WASM build of bevy, which is where I found this bug to begin with, also does not inherit this memory leak. |
Alright, we can't reproduce it, so we'll need some help investigating this. If you can run the examples through apple's memory profiler within |
Description
Starting from MacOS Ventura, my Fusion Drive MacOS machine using wgpu and apps using it accumulate memory over time.
Repro steps
Turn on a MacOS machine that uses Fusion Drive. With wgpu v23 branch
cargo run --bin wgpu-examples boids --release
Expected vs observed behavior
I hoped bugfix in ddff69b would prevent this issue from still happening. It seems to be the same as #5394 was, except it got fixed for many other settups in that commit.
Extra materials
1 Minutes of running the boids example on release:
after running it for roughly 5 minutes:
10 minutes:Platform
iMac with Fusion Drive 1T, MacOS Sequoia 15.2, 8 GB of memory
CPU: 3 GHz 6-core Intel Core i5
GPU: Radeon Pro 560X 4 GB
The text was updated successfully, but these errors were encountered: