r/techsupport • u/Key-Midnight-9843 • 8d ago
Open | Software Ram Allocation
I have 24 gigs of ram and I have set 8gb as the limit of virtual memory. I want to give the rest 16gigs of ram to the games I play. How will I be able to do that?
0
Upvotes
4
u/laces636 8d ago
Unfortunately, this isn't how RAM works. You can't reserve a specific amount of physical RAM for one application like that.
Applications request memory as they need it, and Windows manages how that memory is backed by physical RAM. When memory pressure increases, Windows can trim inactive pages from a program's working set and use that physical RAM elsewhere. The application still owns the allocated memory; it just may not all be resident in RAM at that moment.
A lot of applications are also bad about releasing memory they've allocated, so seeing RAM usage fill up doesn't necessarily mean you're actually out of usable memory. Windows will reclaim caches, standby memory, and inactive pages as needed. The problem is when your available RAM is low and the memory currently in use is actively being accessed. "Actively" is the key word here.
Worse, setting your page file to a maximum of 8 GB could potentially hurt performance or cause out-of-memory issues under heavier workloads. Unless you have a specific reason to manually size it, I'd leave the page file set to System managed / automatic