Fix the Windows "VirtualAlloc MEM_COMMIT failed" bug