FYI - IF you run into an issue where Windows shows only half your memory available.

Author
robert_e_bone
Moderator
  • Total Posts : 8968
  • Joined: 2007/12/26 22:09:28
  • Location: Palatine, IL
  • Status: offline
2016/04/01 19:14:20 (permalink)

FYI - IF you run into an issue where Windows shows only half your memory available.

I upgraded to 32 GB of memory on my 2nd computer, and ran into an issue where the BIOS said it was all there, BUT that only 16 GB was available for use.
 
Windows too said 32 GB was installed, but that a little less than half was available.  Looking at detail in the Windows Resource Monitor, it showed that approximately 17 GB was flagged as Hardware Reserved, and this was the missing memory.
 
I looked at a bunch of different potential solutions, including contacting the motherboard technical support, but got nowhere, until I ran across one guy's suggestion that ended up fixing the issue for me.
 
To make a long story short, I went into REGEDIT, then into:
 
HKEY_LOCAL_MACHINE>SYSTEM>CurrentControlSet>Control>Session Manager>Memory Management
 
Once there, I reviewed the ClearPageFileAtShutdown parameter's value, which was set to the Windows default value of binary zero.  That default tells Windows to leave the PageFile contents as they are, when the computer is shutting down.  FYI - sensitive data can remain in the PageFile contents and can be read by someone with access to the computer.
 
I altered the value of ClearPageFileAtShutdown to binary '1' and then backed out and shut down the computer, rather than just doing a restart.  Apparently, just doing a restart, even with that parameter set to '1', doesn't clear out that file - has to be a shut down.
 
Anyways, upon restart, sure enough, the missing memory was once again available to Windows, so that I had the entire 32 GB of memory (minus normal Windows overhead).
 
IF anyone else runs into issues where about half your memory is showing up as unavailable, and flagged in Resource Monitor as Hardware Reserved, you might think about backing up the Registry and looking into performing the above.
 
I certainly cannot guarantee it will work, but it certainly took care of it for me.....
 
Bob Bone
 

Wisdom is a giant accumulation of "DOH!"
 
Sonar: Platinum (x64), X3 (x64) 
Audio Interfaces: AudioBox 1818VSL, Steinberg UR-22
Computers: 1) i7-2600 k, 32 GB RAM, Windows 8.1 Pro x64 & 2) AMD A-10 7850 32 GB RAM Windows 10 Pro x64
Soft Synths: NI Komplete 8 Ultimate, Arturia V Collection, many others
MIDI Controllers: M-Audio Axiom Pro 61, Keystation 88es
Settings: 24-Bit, Sample Rate 48k, ASIO Buffer Size 128, Total Round Trip Latency 9.7 ms  
#1

6 Replies Related Threads

    kevinwal
    Max Output Level: -69 dBFS
    • Total Posts : 1066
    • Joined: 2007/07/27 19:07:43
    • Location: Rogers, AR
    • Status: offline
    Re: FYI - IF you run into an issue where Windows shows only half your memory available. 2016/04/01 21:54:46 (permalink)
    That's good information, Bob!  One caveat should be noted: As you said, setting this flag to one, in addition to clearing up your memory problem, causes the OS to overwrite the entire pagefile every time the machine is shutdown. This is fine unless your pagefile is on an SSD volume, in which case that kind of hammering could impact the life of the drive. If you're going to go this route, you should probably move the pagefile itself to a standard hard drive.
     
    One other thing I saw cause this particular problem (in fact, the only time I saw this problem myself) was a BIOS that needed updating on one of my laptops. After the BIOS update, all the new memory was available.
     
    Here's a link to a Microsoft knowledgebase article on that issue that I used.
     
    https://support.microsoft.com/en-us/kb/978610

    Kevin Walsh
    My latest tunes are at Reverbnation, please give a listen!
     
    EVGA X58 Classified III, 24GB Kingston RAM, i7/970 6 core
    256GB SSD, 2TB HD
    Windows 10 Build 10586, Sonar Platinum, 2016.03
    MOTU 8Pre Interface
    #2
    robert_e_bone
    Moderator
    • Total Posts : 8968
    • Joined: 2007/12/26 22:09:28
    • Location: Palatine, IL
    • Status: offline
    Re: FYI - IF you run into an issue where Windows shows only half your memory available. 2016/04/02 16:31:50 (permalink)
    Sounds reasonable - I have the latest BIOS.  So far so good with the change I noted above.
     
    Bob Bone
     

    Wisdom is a giant accumulation of "DOH!"
     
    Sonar: Platinum (x64), X3 (x64) 
    Audio Interfaces: AudioBox 1818VSL, Steinberg UR-22
    Computers: 1) i7-2600 k, 32 GB RAM, Windows 8.1 Pro x64 & 2) AMD A-10 7850 32 GB RAM Windows 10 Pro x64
    Soft Synths: NI Komplete 8 Ultimate, Arturia V Collection, many others
    MIDI Controllers: M-Audio Axiom Pro 61, Keystation 88es
    Settings: 24-Bit, Sample Rate 48k, ASIO Buffer Size 128, Total Round Trip Latency 9.7 ms  
    #3
    lfm
    Max Output Level: -53 dBFS
    • Total Posts : 2216
    • Joined: 2005/01/24 05:35:33
    • Location: Sweden
    • Status: offline
    Re: FYI - IF you run into an issue where Windows shows only half your memory available. 2016/04/17 09:35:05 (permalink)
    robert_e_bone
    Sounds reasonable - I have the latest BIOS.  So far so good with the change I noted above.
     
    Bob Bone
     


    Is it possible to reset value to zero later - once booted and creating fresh pagefile with extra memory?
    Thinking if it was something at first boot and existing pagefile was from before memory was increased.
    And you won't need to recreate pagefile every boot either.
    #4
    robert_e_bone
    Moderator
    • Total Posts : 8968
    • Joined: 2007/12/26 22:09:28
    • Location: Palatine, IL
    • Status: offline
    Re: FYI - IF you run into an issue where Windows shows only half your memory available. 2016/05/11 20:43:58 (permalink)
    UPDATE: I did more digging, and discovered that while the registry change I noted above to clear out the pagefile on shutdown is still something I wish to do, it did NOT always guarantee proper allocation of hardware reserved memory in Windows.
     
    So, I ended up making the following change, and this time it seems to repeatedly leave me with all but a couple GB of memory available to applications on start up:
     
    1. Launch MSCONFIG
    2. Click on Boot tab
    3. Click on Advanced
    4. Remove the check labelled: Maximum Memory
    5. Click OK and if needed then click Apply and exit MSCONFIG
    6. Restart computer
    7. Launch RESMON (Windows Resource Monitor)
    8. Make sure Hardware Reserved value reported is something sane, like 1-2 GB at most.  (I have 32 GB memory)
    9. Win a Grammy for your songs written with your super powerful and super fast Sonar. (consider punching Kanye if he interferes with your acceptance speech).
     
    EDITED to add link to Microsoft article describing all but the Kanye/Grammy parts:
     
    https://support.microsoft.com/en-us/kb/978610
     
    Bob Bone
     

    Wisdom is a giant accumulation of "DOH!"
     
    Sonar: Platinum (x64), X3 (x64) 
    Audio Interfaces: AudioBox 1818VSL, Steinberg UR-22
    Computers: 1) i7-2600 k, 32 GB RAM, Windows 8.1 Pro x64 & 2) AMD A-10 7850 32 GB RAM Windows 10 Pro x64
    Soft Synths: NI Komplete 8 Ultimate, Arturia V Collection, many others
    MIDI Controllers: M-Audio Axiom Pro 61, Keystation 88es
    Settings: 24-Bit, Sample Rate 48k, ASIO Buffer Size 128, Total Round Trip Latency 9.7 ms  
    #5
    batsbrew
    Max Output Level: 0 dBFS
    • Total Posts : 10037
    • Joined: 2007/06/07 16:02:32
    • Location: SL,UT
    • Status: offline
    Re: FYI - IF you run into an issue where Windows shows only half your memory available. 2016/05/20 15:25:11 (permalink)
    yes, after the grammy's, folks who had never heard of kanye, suddenly knew who he was.
    marketing genius

    Bats Brew music Streaming
    Bats Brew albums:
    "Trouble"
    "Stay"
    "The Time is Magic"
    --
    Sonar 6 PE>Bandlab Cakewalk>Studio One 3.5>RME BFP>i7-7700 3.6GHz>MSI B250M>G.Skill Ripjaws 4 series 16GB>Samsung 960 EVO m.2ssd>W 10 Pro
     
    #6
    kennywtelejazz
    Max Output Level: -3.5 dBFS
    • Total Posts : 7151
    • Joined: 2005/10/22 06:27:02
    • Location: The Planet Tele..X..
    • Status: offline
    Re: FYI - IF you run into an issue where Windows shows only half your memory available. 2016/05/20 16:25:42 (permalink)
    Hey Bob ,
     
    I'm still in the single digits stage of RAM on my Win computers .
    Some day I hope to make it into the double digits stage when it comes to installed Ram .
     
    Thank you for sharing this type of thing ,
     
    Kenny

                       
    Oh Yeah , Life is Good .
    The internet is nothing more than a glorified real time cartoon we all star in.
    I play a "Gibson " R 8 Les Paul Cherry Sunburst .
    The Love of my Life is an American Bulldog Named Duke . I'm currently running Cakewalk By BandLab as my DAW .
     
    https://soundcloud.com/guitarist-kenny-wilson
     
    https://www.youtube.com/user/Kennywtelejazz/videos?view=0&sort=dd&shelf_id=1
     
    http://www.soundclick.com/bands/pagemusic.cfm?bandID=427899



    #7
    Jump to:
    © 2024 APG vNext Commercial Version 5.1