Fixing VRAM overflow for Manli RTX 5060 8GB in The Last of Us
Seeing those wasteland vistas is amazing, but the VRAM overflow stutters totally killed the vibe. The 8GB on the Manli RTX 5060 is barely enough for 4K textures, forcing the system to swap to slow system RAM, which caused massive 20-40ms spikes. I tried the usual Windows Game Mode trick, but it did nothing—just a placebo. I dove into the NVIDIA Control Panel, set the shader cache to 10GB, and manually locked the virtual memory to a fixed 32GB-64GB range. In Task Manager, the VRAM peak stayed around 7.2-7.8GB, and those instant freezes stopped. I noticed the system took about 5 seconds longer to boot after the page file change, but cleaning up my startup apps fixed that. Temps are chilling at 65-71℃ with fans at 1400-1600 RPM. The internal profiler shows the VRAM pressure is gone, and frame times are finally sitting at 5.1-6.4ms.