Notifications
Clear all

Wipe Ram

13 Posts
5 Users
0 Likes
1,199 Views
(@avocadus)
Posts: 4
New Member
Topic starter
 

Do it have a software to wipe o fill the unused ram in windows?

 
Posted : 28/12/2012 6:00 pm
Passmark
(@passmark)
Posts: 376
Reputable Member
 

Not sure about a software solution, but there is a very effective hardware solution.

It is the Power button.

Also Windows automatically zeros free memory pages in the background. This is done for security reasons, so that one process doesn't get given data from another process when additional RAM is requested.

Goggle "zero-page thread" and "Demand Zero faults" for details.

 
Posted : 02/01/2013 8:56 am
(@avocadus)
Posts: 4
New Member
Topic starter
 

I tryed to load a file in notepad.exe, then close it.
When i inspect hiberfil.sys i see the text again into.
The "zero-page thread" not works when hibernate?
Do it is possible to launch "zero-page thread" via c++ code?
ty.

 
Posted : 02/01/2013 1:15 pm
jaclaz
(@jaclaz)
Posts: 5133
Illustrious Member
 

It is the Power button.

AND wait 35/40 seconds attending the machine after having switched it off , to prevent a ninja 😯 hacker to quickly disassemble the machine and freeze your RAM sticks wink .
http//icanhascheezburger.files.wordpress.com/2011/05/funny-pictures-cat-is-a-ninja.jpg

I tryed to load a file in notepad.exe, then close it.
When i inspect hiberfil.sys i see the text again into.

Yep, but that would be part of "Windows used memory" and not part of "unused" one.

A similar recent thread
http//reboot.pro/topic/17935-wipe-ram/

jaclaz

 
Posted : 02/01/2013 7:26 pm
Passmark
(@passmark)
Posts: 376
Reputable Member
 

> When i inspect hiberfil.sys

You asked about RAM. The hiberfil.sys file is a file on the disk & not RAM. Although like many files on the hard disk it contains content that was in RAM at some point.

If your real question is how to avoid data in the hiberfil.sys, then you can turn off hibernation.

You might also want to zero the page file via the registry change.

[HKEY_LOCAL_MACHINESystemCurrentControlSetControl Session ManagerMemory Management] "ClearPageFileAtShutdown"=dword00000001

 
Posted : 03/01/2013 12:46 am
(@avocadus)
Posts: 4
New Member
Topic starter
 

Disable hyberation, clear page file, power off pc… I Know!
But i would use hyberation and reset to zero unused memory on the fly when I want.
Do it is not possible?

 
Posted : 03/01/2013 1:04 am
jaclaz
(@jaclaz)
Posts: 5133
Illustrious Member
 

Disable hyberation, clear page file, power off pc… I Know!
But i would use hyberation and reset to zero unused memory on the fly when I want.
Do it is not possible?

Please define "unused memory" (whilst a Windows NT based OS is running).

jaclaz

 
Posted : 03/01/2013 1:22 am
(@avocadus)
Posts: 4
New Member
Topic starter
 

memory that is no longer used by any process, which is available to be allocated to other processes, but that still has not been resetted and contains the old values.

 
Posted : 03/01/2013 1:46 am
(@trewmte)
Posts: 1877
Noble Member
 

> When i inspect hiberfil.sys

You asked about RAM. The hiberfil.sys file is a file on the disk & not RAM. Although like many files on the hard disk it contains content that was in RAM at some point.

If your real question is how to avoid data in the hiberfil.sys, then you can turn off hibernation.

You might also want to zero the page file via the registry change.

[HKEY_LOCAL_MACHINESystemCurrentControlSetControl Session ManagerMemory Management] "ClearPageFileAtShutdown"=dword00000001

Passmark, just to open up the discussion, have you found (and I am of course referring to your expertise), in your experience any system problems that occur following setting of "dword00000001"?

Thnaks Greg

 
Posted : 03/01/2013 2:21 am
Passmark
(@passmark)
Posts: 376
Reputable Member
 

I am not aware of any problems.

Note that this isn't a undocumented hack.

It is a Microsoft documented setting.
http//technet.microsoft.com/en-us/library/cc757862(v=ws.10).aspx

That article however makes me wonder if it only applies to Windows Server OS. I haven't tested this. It does slow down shut down times however if you have a large paging file.

 
Posted : 03/01/2013 6:34 am
Page 1 / 2
Share: