After spending hours with Windows 11 settings and VMx, I found the solution to the behavior to normal functionality.
My VMware Workstation Pro 17.6.3 now operates correctly.
Original Message:
Sent: Apr 19, 2025 02:49 AM
From: aa ab
Subject: mksSandbox.exe memory bloat
It is highly disappointing to see numerous reports in forums regarding issues with VMware Workstation Pro17.6.3 Windows 11, particularly concerning 3D acceleration on hosts running Windows 11 Pro, Windows 10 Pro, and the latest Windows updates. Unfortunately, there is still no hotfix or update from Broadcom to resolve this matter.
I have made several changes to the VMX configuration, but none have yielded positive results.
The issue: When using VMware with 3D acceleration, the host GPU is not utilized in the m.Sandbox, causing problems with DirectX 12, Vulkan, and a slowdown in VMware graphics. Rendering issues and other complications necessitate disabling 3D acceleration.
Additionally, issue significantly increases RAM usage, which is consumed by the Sandbox.
We respectfully request a resolution for this issue or the release of update 17.6.4. Thank you.
this solution DONT work for me.
# Force DirectX 11
mks.enableDX12Renderer = "FALSE"
mks.enableDX11Renderer = "TRUE"
# Disable Vulkan
mks.vk.allowUnsupportedDevices = "FALSE"
# Stop VMware from Rendering Minimized Windows
svga.noScreenBuffering = "TRUE"
mks.noScreenBuffering = "TRUE"
My Hardware :
Systeminformationsbericht erstellt am: 04/19/25 08:54:15
Systemname: DESKTOP
[SystemΓΌbersicht]
Element Wert
Betriebsystemname Microsoft Windows 11 Pro
Version 10.0.26100 Build 26100
Weitere Betriebsystembeschreibung Nicht verfΓΌgbar
Betriebsystemhersteller Microsoft Corporation
Systemname DESKTOP
Systemhersteller Acer
Systemmodell Nitro AN517-41
Systemtyp x64-basierter PC
System-SKU 0000000000000000
Prozessor AMD Ryzen 9 5900HX with Radeon Graphics, 3301 MHz, 8 Kern(e), 16 logische(r) Prozessor(en)
BIOS-Version/-Datum Insyde Corp. V1.11, 11.07.2023
SMBIOS-Version 3.3
Version des eingebetteten Controllers 1.11
BIOS-Modus UEFI
BaseBoard-Hersteller CZ
BaseBoard-Produkt Kamiq_CAS
BaseBoard-Version V1.11
Plattformrolle Mobil
Sicherer Startzustand Ein
PCR7-Konfiguration Erweiterung zum Anzeigen erforderlich
Windows-Verzeichnis C:\Windows
Systemverzeichnis C:\Windows\system32
StartgerΓ€t \Device\HarddiskVolume2
Gebietsschema Deutschland
Hardwareabstraktionsebene Version = "10.0.26100.1"
Benutzername DESKTOP\SPS01
Zeitzone MitteleuropΓ€ische Sommerzeit
Installierter physischer Speicher (RAM) 32,0 GB
Gesamter physischer Speicher 31,4 GB
VerfΓΌgbarer physischer Speicher 25,4 GB
Gesamter virtueller Speicher 33,4 GB
VerfΓΌgbarer virtueller Speicher 25,2 GB
GrΓΆΓe der Auslagerungsdatei 2,00 GB
Auslagerungsdatei C:\pagefile.sys
Kernel-DMA-Schutz Ein
Virtualisierungsbasierte Sicherheit Nicht aktiviert
App Control for Business-Richtlinie Γberwachung
App Control for Business-Benutzermodusrichtlinie Aus
UnterstΓΌtzung fΓΌr automatische GerΓ€teverschlΓΌsselung Erweiterung zum Anzeigen erforderlich
Hyper-V - VM-Monitormoduserweiterungen Ja
Hyper-V - SLAT-Erweiterungen (Second Level Address Translation) Ja
Hyper-V - Virtualisierung in Firmware aktiviert Ja
Hyper-V - DatenausfΓΌhrungsverhinderung Ja
[Hardwareressourcen]
Original Message:
Sent: Apr 17, 2025 05:49 AM
From: Aa Aa
Subject: mksSandbox.exe memory bloat
It seems that setsvga.vramSize
totally doesn't work - it will auto reset to default when vm launch.
Original Message:
Sent: Feb 28, 2025 03:21 PM
From: Yevgeni Shirukin
Subject: mksSandbox.exe memory bloat
Fingers crosed but after adding those lines to vmx it seems that it stopped bloating ram and mkssandbox ram is being released i mean it goes up to 180 and drops to 150-160
# Force DirectX 11
mks.enableDX12Renderer = "FALSE"
mks.enableDX11Renderer = "TRUE"
# Disable Vulkan
mks.vk.allowUnsupportedDevices = "FALSE"
# Limit VRAM to Prevent Overflows
svga.vramSize = "2097152" # 2GB VRAM
# OR
# svga.vramSize = "4194304" # 4GB VRAM
# Stop VMware from Rendering Minimized Windows
svga.noScreenBuffering = "TRUE"
mks.noScreenBuffering = "TRUE"
will recheck logs after more time to figure out what was that it seems Vulkan not running properly and Directx12 failing to render minimized to tray actions while 3D acceleration is up. And all is fine after Vulkan and Dx12 disabled and forrsed Dx11
Original Message:
Sent: Feb 28, 2025 02:30 PM
From: Michael Banack
Subject: mksSandbox.exe memory bloat
It's possible switching to DX11 might help, but otherwise the ChatGPT analysis there is pretty much completely wrong or nonsensical to me.
If you can post your logs here, our development team can take a look and see if we can offer any suggestions.
Original Message:
Sent: Feb 28, 2025 12:42 PM
From: Yevgeni Shirukin
Subject: mksSandbox.exe memory bloat
Did some chat gpt analysis on logs got his will try to to forse Directx 11
Funny part that everything worked fine for weeks but i managed to reset BIOS by clicking back of pc i did bios update again did same setup clean os reinstal clean vm reinstal and this thing started to happen and keeps happening after multiple vm os reisntals :)
π Major Issues Identified
1οΈβ£ VMware is Attempting to Use Vulkan but Failing
From mksSandbox-2.log
:
- VMware tries to initialize Vulkan but fails, likely causing mksSandbox.exe to fall back to DirectX 12.
- When fallback happens, memory leaks can occur due to inefficient memory cleanup.
2οΈβ£ DirectX 12 is Being Used, but VRAM Management is Unstable
From mksSandbox-2.log
:
- DirectX 12 is being selected for rendering, but VMware isn't properly managing VRAM allocations.
- This can cause mksSandbox.exe to keep allocating VRAM without freeing it, leading to memory leaks.
3οΈβ£ mksSandbox.exe is Attempting to Handle a Minimized Window Incorrectly
- The fact that mksSandbox.exe doesn't leak RAM when the window is not minimized suggests a rendering bug when handling hidden windows.
- VMware might be trying to render frames even when the window is minimized, leading to VRAM not being released properly.
β
Fixes to Stop mksSandbox.exe From Leaking RAM
π’ Fix 1: Force DirectX 11 Instead of DirectX 12
Since Vulkan fails and DirectX 12 has memory management issues, forcing DirectX 11 can stabilize memory usage.
Steps:
- Open the VMX file (
YourVM.vmx
) in a text editor. - Add the following lines:
- Save the file and restart VMware Workstation.
β
Effect: Forces DirectX 11, which has better memory management than DX12 in VMware.
π’ Fix 2: Disable Vulkan to Prevent Unnecessary Fallback
Since VMware fails to use Vulkan, prevent it from attempting Vulkan rendering.
Steps:
- Add this line to the VMX file:
- Save and restart the VM.
β
Effect: Prevents VMware from attempting Vulkan, reducing rendering errors.
π’ Fix 3: Disable Background Rendering for Minimized Windows
Since mksSandbox.exe leaks RAM when the window is minimized, force it to stop rendering hidden windows.
Steps:
- Add these lines to the VMX file:
- Save and restart VMware Workstation.
β
Effect: Stops unnecessary rendering when the VM is minimized.
π’ Fix 4: Reduce VRAM Allocation to Prevent Memory Overflows
Currently, VMware is allocating too much VRAM but not managing it properly.
Steps:
- Modify the VRAM allocation in the VMX file:
- Save the file and restart VMware Workstation.
β
Effect: Prevents excessive VRAM allocation that leads to memory leaks.
π’ Fix 5: Use Remote Desktop Instead of VMware Console (Alternative)
If Fixes 1-4 don't work, try running the VM via Remote Desktop (mstsc.exe
), which bypasses mksSandbox.exe completely.
Steps:
- Enable Remote Desktop inside the VM:
- Open Settings β System β Remote Desktop.
- Enable "Allow Remote Desktop connections".
- On your host machine, open
mstsc.exe
and connect to the VM.
β
Effect: Completely eliminates mksSandbox.exe from consuming RAM.
Original Message:
Sent: Feb 28, 2025 11:06 AM
From: Michael Banack
Subject: mksSandbox.exe memory bloat
It sounds like you have a memory leak in the graphics stack somewhere, either in VMware code, or in the host graphics drivers.
Can you post a vmware.log and mksSandbox.log from one of the affected VMs when 3D is turned on?
Otherwise, most of the Workstation memory settings you're adjusting only affect Guest main memory, not the graphics memory usage.
There should be a setting in the Workstation UI under VM Settings => Display => Graphics Memory that you can adjust while the VM is fully powered off. That will control the maximum amount of graphics resources that each VM is allowed to use on your Host (although it's measured in Guest resources, which don't strictly map byte-for-byte onto Host resources). Lowering that setting should reduce the maximum amount of memory that the mksSandbox process will use on your Host during normal operation. That said, if something is leaking here that might not be enough.
I'd also recommend you try upgrading your Host's graphics drivers. Our graphics team may be able to give you more specific suggestions after we've reviewed your logs.
I'm also a little puzzled by what you describe in Trial 3... After disabling 3D graphics on a VM and doing a clean PowerOn, there shouldn't be any mksSandbox.exe processes running on your Host at all?
Original Message:
Sent: Feb 27, 2025 04:28 PM
From: Yevgeni Shirukin
Subject: mksSandbox.exe memory bloat
Hello, I'm new here.
About four weeks ago, I installed three VMware virtual machines on my host system. Everything ran smoothly with high performance-no lag, no issues.
But suddenly, I started experiencing high RAM consumption by mksSandbox.exe, even after setting multiple limits in the VMware settings and VMX file. The process keeps consuming memory until the virtual machine crashes. Once it crashes, mksSandbox.exe collapses, and the RAM is released back to the system.
I have reinstalled my OS and VMware at least 10-20 times and tested various configurations:
- High and low RAM reservations
- High and low GPU allocations
No matter what I do, mksSandbox.exe keeps bloating until it crashes VMware.
I've searched Google, Reddit, and even asked ChatGPT, but I haven't found a solution. This forum is my last hope-does anyone know how to fix this issue?
π The Issue
- VMware Workstation consumes more RAM than assigned and does not properly release it.
- mksSandbox.exe (VMware's graphics process) uses excessive memory (up to 18GB).
- Standby List was initially a problem, but after fixes, VMware itself was the real culprit.
- Memory is overcommitted, leading to 100% usage and causing performance issues.
- Killing mksSandbox.exe frees RAM but also disconnects active games inside VMs.
β
Fixes We Tried & Results
1οΈβ£ Adjust VMware Workstation Global Memory Settings
β
Changes Made:
- VMware Workstation β Edit β Preferences β Memory
- Set "Reserved Memory for All Running VMs" to 48GB (instead of 56GB).
- Prevents VMware from taking excessive memory from the host.
β
Result:
- Helped reduce RAM hoarding slightly, but VMware still consumed more than allocated.
2οΈβ£ Edit VMX Files to Force Hard Memory Limits
β
Changes Made:
- Opened each VM's
.vmx
file (found in C:\Users\YourUser\Documents\Virtual Machines\VMName\
). - Added the following lines:
- Replace "X" with the assigned RAM amount (in MB) for the VM.
- Example: If a VM has 6GB RAM, use
sched.mem.max = "6144"
and sched.mem.min = "6144"
.
β
Result:
- Forced VMware to use only the assigned memory, preventing hidden overcommitment.
3οΈβ£ Disabled 3D Acceleration to Reduce mksSandbox.exe Memory Usage
β
Changes Made:
- VM Settings β Hardware β Display
- Unchecked "Accelerate 3D Graphics"
- Clicked OK and restarted the VM.
β
Result:
- Drastically reduced
mksSandbox.exe
RAM usage (from 18GB to normal levels). - No visual impact for non-GPU-intensive applications.
4οΈβ£ Limited VMware's Graphics Memory Usage
β
Changes Made:
- Inside each VM β Reduced display resolution to 1280x720.
- Disabled "Full Screen Mode" to reduce GPU memory overhead.
β
Result:
- Helped lower GPU-related RAM usage, but
mksSandbox.exe
was still consuming memory unless fully disabled.
5οΈβ£ Cleared Standby List (Initially a Problem)
β
Changes Made:
- Installed Intelligent Standby List Cleaner (ISLC) only on the host.
- Configured it to:
- Purge Standby List when Free Memory is below 16000MB.
- Clear Standby List automatically every few minutes.
β
Result:
- Initially, this freed up RAM, but after fixing Standby List hoarding, VMware was still consuming memory dynamically.
6οΈβ£ Checked Resource Monitor for Hidden Memory Usage
β
What We Found:
- Commit Charge was always at 100%, meaning VMware was reserving more memory than it should.
- mksSandbox.exe was still the largest RAM consumer.
β
Result:
- Proved that the real issue was VMware dynamically overcommitting RAM, not just the Standby List.
7οΈβ£ Attempted to Release RAM Without Closing VMware
β
Changes Made:
- Tried running the following command to force Windows to release unused RAM:
- Tried manually reducing Working Set in Resource Monitor.
β Result:
- Did NOT fix the issue. VMware was actively consuming RAM, not just holding it in Standby.
8οΈβ£ Set Low Priority for mksSandbox.exe (Temporary Fix)
β
Changes Made:
- Opened Task Manager (
Ctrl + Shift + Esc
). - Found mksSandbox.exe β Right-click β Set Priority β Low.
- Found mksSandbox.exe β Right-click β Set Affinity β Limited to fewer CPU cores.
β
Result:
Thanks in advance!