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.vramSizetotally 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?