Affiliate Disclosure
If you buy through our links, we may get a commission. Read our ethics policy.

VMware, VirtualBox tools impacted by macOS Catalina memory leaks

VMware Fusion on macOS Big Sur

Last updated

An issue with the App Sandbox is causing problems for some virtual machine software users, with the issue inducing a kernel panic in macOS Catalina 10.15.6 when used for a long period of time.

Owners of virtualization tools including those from VMware and VirtualBox have been raising faults in support forums, claiming their systems crash when using the software. In cases where it occurs, crashes happen with a regularity that the apps were suspected of causing the issue.

Posts in the VirtualBox forums indicate that, on multiple Macs using macOS Catalina 10.15.6, there was a kernel memory leakage for wired memory, which grew the amount of memory in use by approximately 1 gigabyte per hour. Once the leak grew enough, it would cause a kernel panic, the spontaneous closing of programs, and in some cases crashes of the Mac itself.

Another thread on the VMware forums discusses how the same issue is present in VMware Fusion, again running on macOS 10.15.6. The posters all seemingly agree that the problem of lock-ups and crashes commenced after upgrading to that version, with earlier macOS versions not encountering the error.

A VMware engineer in the thread advised on Monday the problem was narrowed down to the App Sandbox. A core element of iOS and macOS for quite some time, the App Sandbox isolates apps and provides limited access to system resources and data, with the intention of keeping issues with an app contained to a single instance, and improving general security.

The engineer explains problem relates to a "regression in the com.apple.security.sandbox kext (or one of its related components)" in macOS 10.15.6. As part of the investigation, it was discovered com.apple.security.sandbox was allocating millions of blocks of memory containing just the text "/dev" and no other data.

A comprehensive report has been provided to Apple, to help with diagnosing and fixing the issue in a future update to the operating system.

At this time, there are no workarounds for VMware Fusion customers, aside from not installing macOS 10.15.6 in the first place or periodically rebooting the host every few hours to wipe out the memory leak temporarily.

It is unclear if the same issue applies to the beta of macOS Big Sur, but VMware is working to make VMware Fusion work on the future operating system release, via a tech preview.



16 Comments

sflocal 6138 comments · 16 Years

That’s interesting.  I have two machines running Catalina/VMware and have not experienced this problem on either of them.  

Is this a new phenomenon with a recent MacOS update or has it always been a problem?  I guess I’ll keep an eye out,

scartart 201 comments · 17 Years

sflocal said:
Is this a new phenomenon with a recent MacOS update or has it always been a problem?  I guess I’ll keep an eye out,

Only a problem with 10.15.6.

Mike Wuerthele 6906 comments · 8 Years

scartart said:
sflocal said:
Is this a new phenomenon with a recent MacOS update or has it always been a problem?  I guess I’ll keep an eye out,
Only a problem with 10.15.6.

Not only is it just a problem with 10.15.6, it isn't manifesting for everybody.

killroy 286 comments · 17 Years

Like to see a list of which Macs, iMacs, Mac Pros it happens on.

WarrenBuffduckh 158 comments · 5 Years

One would assume that a mutli-billion dollar spending, overequipped test lab would extensively test its OS with the most cpu/memory intensive apps and environments before shipping it as a Pro-class product. 
Apple currently ships beta quality software -  despite or thanks to its public alpha program.