kaotkbliss

Stopping Windows 10 from auto-closing programs to free up ram

5 posts in this topic

I use a program that really eats up a ton of ram (cgi type stuff), I can easily use 10+ GB of my 16 on this program alone.

Now on Windows 7 when the system started running low, it would let me know that I should close programs to free up ram and had a button to automatically do so. However, if you clicked cancel or just simply closed the window via the red X, then you could manually close what programs you wanted, or not close any and wait for some ram to free up.

However, with windows 10 it decides to start closing programs before you even give a response and usually the first to go is my cgi program which has caused me to lose a ton of work. This behavior also messes up my openGL on my video card when it forces my cgi program to close and I can't use the program again (or basically use my video card for anything) until I reboot my PC.

So basically I need a way to stop windows from auto closing programs, or worst-case, just disable the low ram warning altogether.


010101000110100001101001011100110010000001101001011100110010000

001101101011110010010000001110011011010010110011100100001

My Android cat and mouse game
https://play.google.com/store/apps/details?id=com.KaosVisions.WhiskersNSqueek

We're gonna need another Timmy!

Share this post


Link to post
Share on other sites



#2 ·  Posted (edited)

Not tested but try:

  • Run gpedit.msc
  • Computer Configuration -> Administrative Templates -> System -> Troubleshooting and Diagnostics -> Windows Resource Exhaustion Detection and Resolution.
  • Configure it to just detect
Edited by Jon

Share this post


Link to post
Share on other sites

Hi All,

Just a heads up on stopping Windows 10 auto closing programs to free up memory.

The below does work, however it only works for Windows 10 Pro. Windows Home Edition does not have gpedit.msc (Edit Group Policy).

I had Windows 10 Home Edition and tried installing gpedit.msc via posts that I found on the web. This did not work for me and I read other posts whereby it did not work for others.

I read a post saying that if you have Windows 10 Home Edition and a product key for any versions of Windows Pro, you can change to Windows 10 Pro. Again that did not work for me.

I had to go but the drawing board and install Windows 7 Pro and use the free upgrade to Windows 10 Pro.

Computer Configuration -> Administrative Templates -> System -> Troubleshooting and Diagnostics -> Windows Resource Exhaustion Detection and Resolution.

Configure it to just detect and troubleshoot only

Share this post


Link to post
Share on other sites

This solution worked for us on a Sony Vaio that we had  upgraded to Windows 10.  

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now