I notice that there is substantial memory leak after using and shutting down a bhyve VM (in particular, I'm testing with OpenBSD guests).
Starting from a freshly booted FreeBSD host (v.13), the Wired memory is about 500 MB, and after running the VM and ...
- irregardless of setting the VM to -m "1G" or "4G"
- whether or not using the -S option
- whether or not using the -D option
- shutting the VM from inside the guest itself
- or calling "pkill bhyve" from the host
- including calling "bhyvectl --destroy --vm=vmname"
... there is still a substantial amounof of Wired memory used, and it seems to unclaimable.
Are other users experiencing the same thing?
I opened this thread as a discussion to understand it more...
Starting from a freshly booted FreeBSD host (v.13), the Wired memory is about 500 MB, and after running the VM and ...
- irregardless of setting the VM to -m "1G" or "4G"
- whether or not using the -S option
- whether or not using the -D option
- shutting the VM from inside the guest itself
- or calling "pkill bhyve" from the host
- including calling "bhyvectl --destroy --vm=vmname"
... there is still a substantial amounof of Wired memory used, and it seems to unclaimable.
Are other users experiencing the same thing?
I opened this thread as a discussion to understand it more...