Showing posts with label virtual memory. Show all posts
Showing posts with label virtual memory. Show all posts

Oct 4, 2008

Keep "The Man" out of your Virtual Memory

I’ve mentioned different ways that “the man” can gain evidence from your computer, and ways to protect yourself. One way I mentioned was recovering deleted files from your hard drive, for that I suggested a couple of free hard drive secure wiping solutions. Another method of protection I suggested was full hard drive encryption, but if they have a warrant, you will be forced to give up your password so they can gain access.


A method that “the man”, and hackers for that matter, use that I didn’t mention was recovering data from your computer’s virtual memory. Virtual memory is a small area on the hard drive that the computer uses to temporarily place item it has in memory when it isn’t in use in order to make room for programs that are being used. When you shut down your computer, the data stays there until the next time you use it. Likewise, when your computer goes into hibernate mode, all data in memory gets dumped there while your computer turns off. That way when you turn it back on, everything opens right where you left it.


agentt smithTo help protect against this, you can clear your virtual memory at shutdown. This isn’t a fool proof method, and it may even increase the time it takes to shut your computer down, but it is better than a sharp stick in the eye. I actually recommend this with the use of the other methods I already posted about.


I don’t know how to do this in Linux (If you know, please leave a comment on how to do it, or where we can find directions), but in Windows it is a simple registry edit. Remember that before editing the registry; always make a backup of it first! Also, never mess with the registry unless you know what you are doing.


1) In Windows, click on Start > Run, then type in regedit (or regedt32) and click OK

2) Go to: HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Memory Management

3) In the right pane, you should see a value called ClearPageFileAtShutdown, right click on it and select modify.

4) Change the data value from 0 to 1

5) If that option isn’t there, you can create it by right clicking in the right pane, and selecting New DWORD value, name it ClearPageFileAtShutdown and set the value to 1.

6) Reboot your computer to let the changes take effect.


Both “the man” and hackers have many tools at their disposal to parse through your virtual memory. Use this, along with the other methods to keep your data secure.

Dec 30, 2007

A Simple Method To Increase Performance in Windows

One of the main things that determines computer speed is the amount of memory your computer has. By the way, I was hanging around with my wife's cousin this week and he thought computer memory was referring to the amount of storage on a hard drive. So lets get one thing straight, when referring to memory you are talking about RAM (Random Access Memory), not hard drive storage. Back to what I was saying, RAM corresponds to computer speed and that is why people always tell you to upgrade your RAM when your computer is getting old and slow.

When your computer starts to run out of RAM to run programs, it borrows a designated area on your hard drive to swap stuff in and out of memory. This place is called the page file in Windows (Swap partition in Linux). The whole idea is aptly called virtual memory.

Wikipedia says this about Virtual Memory:

Virtual memory is a computer system technique which gives an application program the impression that it has contiguous working memory, while in fact it is physically fragmented and may even overflow on to disk storage. Systems which use this technique make programming of large applications easier and use real physical memory (e.g. RAM) more efficiently than those without virtual memory.


Before running out and dropping a couple of hundo on more RAM to increase performance on your computer, you could try to increase the size of your page file. Here is a video I found on Youtube that tells you how to increase you pagefile size in Windows Vista:



Along with the increase in page file size, you should also regularly defrag your computer, and clean up all of the spyware on it. Doing these things could postpone upgrading your hardware...at least of a little while.



Twitter Delicious Facebook Digg Stumbleupon Favorites More

 
Design by Free WordPress Themes | Bloggerized by Lasantha - Premium Blogger Themes | stopping spam