-
Notifications
You must be signed in to change notification settings - Fork 608
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 is not being freed on VZ #2789
Comments
It is normal for memory that you dedicate to a virtual machine to be locked, the alternative is a feature*. * called "ballooning" in QEMU, but I am not sure if it is available in Vz yet? Either way, it is not the default. |
Apparently it's available but it doesn't work. |
Yes its a macOS bug. Even docker desktop has the same problem. Somehow orbstack fixed it with a custom memory management |
Lima does create a https://developer.apple.com/documentation/virtualization/vzvirtiotraditionalmemoryballoondevice |
Discussed in #2720
Originally posted by Muzosh October 10, 2024
I ran some memory intensive task today and it maxed out at 8GB (which was defined in my config). I was this in MacOS Activity Monitor next to a "Virtual Machine Service for limactl" process.
However, once those memory intensive tasks finished, the process stayed at 8GB indefinitely (until colima restart), slowing down my host Mac.
Is this intended behavior? I would expect the process to jump down to some idle value (around ~800-1000MB after fresh start).
The text was updated successfully, but these errors were encountered: