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

Memory leak on macOS with Metal rendering #17025

Open
ltetak opened this issue Sep 16, 2024 · 0 comments
Open

Memory leak on macOS with Metal rendering #17025

ltetak opened this issue Sep 16, 2024 · 0 comments

Comments

@ltetak
Copy link
Contributor

ltetak commented Sep 16, 2024

Describe the bug

There is a slow memory leak on macOS with metal rendering (does not repro on OpenGL or Software).

To Reproduce

Do anything that requires rendering but to speed things up drag a corner of the window and resize it a lot. This will gain 10MB/s. This memory is never freed up and climbs until the app eventually crashes (after a long time).
You can see this memory in the Activity Monitor under the Memory column. It's not calculated under Real Mem. I can't see it in dotMemory as well (is it a GPU memory?)

Expected behavior

Steady memory as with OpenGL or Software rendering.

Avalonia version

11.x - 11.2.0-beta2

OS

macOS

Additional context

It is more prominent since the Metal is the default renderer now #15994

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants