Windows 10 refuses to use all of my RAM

Page 1 of 2 12 LastLast

  1. Posts : 9
    Windows 10
       #1

    Windows 10 refuses to use all of my RAM


    I have 16 GB installed, Windows sees all of them, but when I have 4 GB left it refuses to use any more. Instead Chrome gets "no memory" errors and Windows crashes apps. It's consistently 4 GB it never uses, they're listed as "available" in Task Manager, about 50/50 free and standby.

    Any ideas why this is?
      My Computer


  2. Posts : 42,734
    Win 10 Pro (22H2) (2nd PC is 22H2)
       #2

    Hi, see these posts (there will be more of this kind) and see if any of the ideas help:
    Unable to Use All RAM installed. Solved - Windows 10 Forums
    Since Windows 10 not all of my RAM is usable. Solved - Windows 10 Forums
    Windows 10 64 Bit only 4GB Ram Usable? Solved - Windows 10 Forums
    Win 10 Not using all RAM Solved - Windows 10 Forums

    Regarding programs crashing, have you changed any settings related to your page file?
      My Computers


  3. Posts : 9
    Windows 10
    Thread Starter
       #3

    My memory is all usable as windows sees it, so no different "usable" size.

    Yes, I've disabled the page file as I have more than enough memory and an SSD - consequently the modified memory has grown a bit as it's usually flushed to the disk.

    I think i've found out it may be because Windows doesn't release standby memory, when it's suppose to. If I force release it in RamMap it's perfectly OK with me, using the rest of the memory, but it will refuse an allocation if the available memory is in standby. Any ideas why this is?
      My Computer


  4. Posts : 1,255
    Windows 10 Pro
       #4

    Your problem has nothing to do with standby memory. In fact it has nothing to do with RAM usage at all. The problem is that the commit charge is approaching the commmit limit. That is what the error message means. Post a screenshot of Tas Manager Performance tab showing memory info. This will provide an overview of the memory situation.
      My Computer


  5. Posts : 9
    Windows 10
    Thread Starter
       #5

    I've made a screenshot from the performance tab of the task manager, including one with a program made to exhaust memory - which crashed due to no more memory when it should still have ~4GB.

    Windows 10 refuses to use all of my RAM-taskmngr.png
      My Computer


  6. Posts : 1,255
    Windows 10 Pro
       #6

    As I mentioned before the problem is caused by the commit charge approaching the commit limit. It has NOTHING to do with RAM usage. Windows doesn't even have an error for low available RAM.

    It would appear that the lack of a pagefile is causing the problem. I would recommend a pagefile of at least 8 GB, preferably 16 GB, even better would be to set it as system managed. The pagefile does not work like you think it does.
      My Computer


  7. Posts : 9
    Windows 10
    Thread Starter
       #7

    LMiller7 said:
    As I mentioned before the problem is caused by the commit charge approaching the commit limit. It has NOTHING to do with RAM usage. Windows doesn't even have an error for low available RAM.

    It would appear that the lack of a pagefile is causing the problem. I would recommend a pagefile of at least 8 GB, preferably 16 GB, even better would be to set it as system managed. The pagefile does not work like you think it does.
    That's exactly why I'm asking - if I knew how and why, I wouldn't need any help.

    So what you're saying is, it's impossible for me to use all of my RAM without a pagefile?
      My Computer


  8. Posts : 1,255
    Windows 10 Pro
       #8

    thecokeguy said:
    That's exactly why I'm asking - if I knew how and why, I wouldn't need any help.

    So what you're saying is, it's impossible for me to use all of my RAM without a pagefile?
    You are misinterpreting the graph. Task Manager shows 4.6 GB RAM available but the larger part of this is on the standby list. This is very much misunderstood. It acts as a kind of cache and is a major contributor to good performance. But while it is doing that it is also considered as available memory for immediate use by any application that needs it. It is better than free memory. Free memory is like keeping cash in a jar at home. It does nobody any good until it is used. Standby memory is like money in a high interest savings account that can be immediately withdrawn at any time without penalty. In this case the interest is performance. Remember this is only an analogy to illustrate how things work. Don't take the analogy too far.

    Windows memory manager tries very hard to maintain a reasonable balance between in use memory and the standby list in an attempt to maximize performance. This is VERY complex. You don't ever want the graph to show 100% usage. That would mean there is nothing on the standby list and that would be death to performance.

    Only the section of the graph to the far right is that evil free memory. In this case it appears to be less than 2 GB. Windows tries very hard to keep this small, zero being the optimum value. But under real world conditions this often isn't possible. On my 8 GB system this is often zero but with more memory that becomes more difficult to achieve.

    The commit limit is for practical purposes RAM size plus pagefile size. With no pagefile it will be somewhat less than RAM size. Windows will never allow the commit charge to exceed this limit. When the limit would be exceeded by a memory allocation you will get the out of memory error. This effectively limits your workload. This limit can occur even when there is plenty of available or even free memory. This does not mean that Windows is in some way holding memory back. That isn't the problem.

    Bottom line is you need a pagefile.
      My Computer


  9. Posts : 17,661
    Windows 10 Pro
       #9

    LMiller7 said:
    You are misinterpreting the graph. Task Manager shows 4.6 GB RAM available but the larger part of this is on the standby list. This is very much misunderstood. It acts as a kind of cache and is a major contributor to good performance. But while it is doing that it is also considered as available memory for immediate use by any application that needs it. It is better than free memory. Free memory is like keeping cash in a jar at home. It does nobody any good until it is used. Standby memory is like money in a high interest savings account that can be immediately withdrawn at any time without penalty. In this case the interest is performance. Remember this is only an analogy to illustrate how things work. Don't take the analogy too far.
    Only an analogy but absolutely the best I've ever heard to explain this. Excellent, went straight to my OneNote notebook "Quotes to remember"!
      My Computer


  10. Posts : 13,896
    Win10 Version 22H2 Pro and Home, Win11 Pro and Home
       #10

    Kari said:
    Only an analogy but absolutely the best I've ever heard to explain this. Excellent, went straight to my OneNote notebook "Quotes to remember"!
    Ditto!!!!
      My Computers


 

  Related Discussions
Our Sites
Site Links
About Us
Windows 10 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 10" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd
All times are GMT -5. The time now is 16:43.
Find Us




Windows 10 Forums