Is there a built-in mechanism within windows to lower and increase the amount of memory that a process is allowed to use? I want programs to be able to sometimes think there is less ram available than there actually is and other times be able to just use whatever ram is actually available on the computer.
-
Maybe this answer can help you: superuser.com/questions/44003/…– neoCommented Jul 31, 2021 at 20:22
-
@neo Sadly, it does not.– user64742Commented Jul 31, 2021 at 20:24
-
What about superuser.com/questions/753928/…– Mokubai ♦Commented Jul 31, 2021 at 21:18
-
@Mokubai No, none of those answers are built-in native to windows features and none of those can change the memory cap at runtime on demand. They all just set up sandboxing with fixed memory caps.– user64742Commented Jul 31, 2021 at 21:23
-
1Then the answer is probably a simple "No. Use another tool." Windows (and pretty much any OS) intends for applications to be well written and use the memory they require.– Mokubai ♦Commented Jul 31, 2021 at 21:25
|
Show 6 more comments
1 Answer
The easiest way to reduce the RAM is to create a RAM disk that will eat up some amount of the RAM.
Some free products that I found (but never used):