Windows Tweaks Logo Microsoft PC-Hilfe - 02 blue red
Windows Tweaks Logo Microsoft PC Help - 09 white 120

Windows 2000 - Clear the memory completely when overloaded

November 30, 2013
Updated: December 6, 2021
Quick overview:

After you have started a program or a game, you will notice that the working memory no longer has the size it had directly after starting Windows. This is due to the inadequate memory management of this operating system.

Under Windows 2000 or XP this problem is avoided as far as possible, but even here the memory management does not work perfectly. There are therefore programs for Windows that can clear the memory of leftovers on request. I present here a tip with which you can restore the working memory by double-clicking without robbing processor or RAM resources with additional programs:

1. Right-click on a free area of the desktop and select from the context menu that appears New > Text file. They call them Clear the memory (but the name doesn't matter).

2. Double-click on the text file and enter only the following line:   FreeMem = Space(32000000)

3. Click on File > Save as... and select under file type All files. Now write the extension .vbs. In my example, the file now reads: Clear memory.vbs.

4. Each time you double-click on this file, your memory is cleared of additional ballast - by exactly 32MB (this is why the number 32000000 is in the line above). For example, if you want to gain 64MB, write 64000000 in the brackets. However, you should NEVER enter more than half of your working memory here - otherwise you could at best receive an error message or at worst your system could crash. So be careful!

NOTE FOR NEW PUBLICATION: This article was produced by Sandro Villinger and comes from the Windows Tweaks archive, which has been built up since the late 1990s.

Founded Windows Tweaks as a teenager in 2001, his helpful PC tricks made it Germany's most visited Windows site (at the time Sandro looked like this). He then went on to write for international publications such as PC-Praxis, Computerbild, PCWorld in the USA, IMTEST.de and Hifi.de. Sandro's main job is as Global Product Marketing Lead and Consultant for various global tech companies, including Microsoft, AVG, Avast, Nero, TeamViewer, Swiss IT Security Group and now currently in the fintech sector for Gendigital. But he can't get rid of his passion and shares his tweaks here again. Privately, he enjoys traveling the world and loves Asia, especially Japan, Singapore and Korea, but also natural places like Iceland and the Nordics. You can reach Sandro via e-mail.

Leave a Reply

Your email address will not be published. Required fields are marked *

Windows Tweaks Logo Microsoft PC Help - 09 white 120
by Real Tech Experts
Save time and stress with expert knowledge about software, hardware, AI & Microsoft. 
Windows Tweaks Microsoft PC Help - SINCE 1998 - retina 2

Time-saving tips for PCs, laptops, Windows & software?

Subscribe to our newsletter and receive only our best guides & tweaks as well as exclusive tips for our subscribers. 
Newsletter-Form
Unsubscribe at any time. Approximately 1 - 2 emails per month. This consent includes information on revocation, shipping service provider, and statistics according to our Privacy Policy.
© 1998 - 2026 Windows-Tweaks.info
Made in Germany with ❤️ 
For all technology users around the globe.
This website runs on 🌳 GREEN energy
crossmenu