#1
|
|||
|
|||
Mark memory page as invalid
Does anybody know a way to mark a physical page of memory as invalid or bad somehow on Windows x64?
One of my RAM modules sometimes has a single-bit error at the same fixed address (found by memtest86+). The memory page is located in higher RAM, so it will be unused right after a reboot, but eventually Windows will use it for programs (unexpected crashes) or caching (corrupted files). I want to make sure Windows never tries to store anything on that memory page. I can't get a single RAM replacement module, I would need to buy 6 new modules. I would like to prevent that if there was an easier fix. |
#2
|
|||
|
|||
You can mark memory as bad.
But first I would move the defected RAM module far away from Memory Bank 0 (first slot that's going to be used) and then tell Windows _not_ to use that part of the RAM module using bcdedit commands: bcdedit /set badmemorylist xxx xx bcdedit /set badmemoryaccess No For more information see: https://msdn.microsoft.com/en-us/library/windows/hardware/ff728891(v=vs.85).aspx http://superuser.com/questions/420051/running-windows-with-defective-ram http://www.passmark.com/forum/memtest86/5146-memtest86-results-assistance-required-please Last edited by nulli; 08-29-2016 at 14:18. |
The Following 4 Users Say Thank You to nulli For This Useful Post: | ||
cachito (08-29-2016), chessgod101 (08-31-2016), niculaita (08-30-2016), tonyweb (08-31-2016) |
#3
|
|||
|
|||
I read the bcdedit documentation and hoped to find something there, but I only found truncating memory and burning memory settings. I hate it when something from Microsoft has useful features and they don't care about documenting them.
The corrupted RAM module is at bank 4. I could put it even further away, but I then I would need to run memtest again to find out the new location, so I'm sticking with this where I already know the bad memory address. "bcdedit /set badmemorylist" will not work, the correct syntax would be "bcdedit /set {badmemory} badmemorylist". So now I'm hoping to see no more corrupted files or random crashes in the future. |
#4
|
|||
|
|||
Sorry, I haven't used that command before. I just did some quick googling.
Anyways, hopefully it works as expected. |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
How to access an invalid registry key? | -=bb=- | General Discussion | 7 | 09-22-2009 07:11 |
How to?-How to mark a file at the OS level | SOLAR | General Discussion | 7 | 05-30-2005 21:28 |
Softice: hwnd -> invalid window handle | dreamershl | General Discussion | 2 | 04-19-2004 09:58 |
How to modify the mark of a compressor? | eriC | General Discussion | 1 | 11-08-2002 05:21 |