A workstation equipped with an Intel Core Ultra 285K processor, 192 GB of DDR5 RAM, and two 2 TB Samsung 990 Pro SSDs faced memory allocation errors when running local AI agents. Despite having 30 GB of RAM reported as available, VirtualBox failed to launch new virtual machines due to the Windows 11 Standby List mechanism and Large Pages memory locking.

The system's performance was further hindered by a disabled pagefile, which limited the commit limit to the physical 192 GB. Re-enabling a 192 GB pagefile on the SSD increased the commit limit to 383 GB, improving system stability. However, clearing the Standby List manually caused the system to read virtual disk files directly from the SSD, increasing storage I/O load.

To manage resources, a PowerShell script was developed to invoke the ntdll.dll function NtSetSystemInformation. This tool clears the Standby List only when necessary, specifically before launching new virtual machines. This approach avoids constant cache clearing, which would otherwise force the system to rely on slower SSD storage for frequently accessed data.

The final configuration achieves stability with 179 GB of RAM in use and 12.7 GB free. This setup supports a local Qwen 3.8 Unsloth Q8 model and multiple virtual machines running VS Code, Cline, and Hermes agents, maintaining a performance of 40 tokens per second even with a 512k context window.