How to Clear Random Access Memory (RAM) in Windows

Random Access Memory (RAM) is a crucial component for storing open programs on your computer. Somewhat like a hard drive, only much faster and with much less memory space, RAM basically holds any program open in your taskbar or on your screen. After much use in a single login session, computer RAM can often bog down. Many people think the only way to clear RAM is by restarting the computer (which will work), but there is a much faster way that will accomplish the same thing.

Woman helping man with computer
credit: Jupiterimages/Pixland/Getty Images

Video of the Day


Create a shortcut to the Windows \"Clear RAM\" command. To do this, right-click on your desktop and select New > Shortcut from the context menu. In the \"Create Shortcut\" dialog box that opens up, input \"%windir%\system32\rundll32.exe advapi32.dll,ProcessIdleTasks\" into the location field.


Press \"Next,\" then type in a title for the shortcut (e.g. \"Clear RAM\" or \"Clear Memory\"). Press \"Finish\" to save your shortcut to the desktop.


Double-click on the shortcut you created in steps one and two. Your RAM memory will be restored to fresh boot condition without restarting your computer.

Show Comments