Cleanmem 1.4.1

Published by

An unobtrusive way of freeing up memory from processes on a timed basis. From the author of CSFireMonitor.
Cleanmem is a tool I wrote for my customers and there systems and decided to release it on the net.

The program will install and set it to run every 30 min via the windows task scheduler. Install it and your done! The program doesn't run in the background, once it does its job it closes and doesn't run again until the task scheduler runs it.

The program is very simple to operate as it will run and clean the memory out of all processes it can, without any user input.

Some anti viruses and such protect their processes so of course cleanmem can't touch those.

This doesn't work like other memory cleaners that do nothing but force windows to free up memory by using up all the avail. memory. This old trick then causes your system to lag big time!

Cleanmem works in a matter of about 5 sec. It uses a windows api call that is in Windows 2000,xp,2003,Vista & 2008 that tells windows to cleanup the workspace of a processes thus freeing up any memory the process no longer needs. Other memory cleaners end up forcing the memory into the page file slowing down your system. This tool does not. The API call frees up unused memory from programs, when a program needs the memory again it can simply take it back instead of forcing the memory out of ram and into the page file.

A good example is this, say you have quickbooks installed and setup for multi user mode. The quickbooks service takes 37mb of memory just sitting there! when cleanmem is ran it uses only 600kb and wont grow again until it actually is used. The same goes for all processes.

If a processes needs more memory it gets it back in a sec, I have it set to run every 30 min in the windows task sched. You wont notice any performance hit of any kind even when pushing your system to the max playing a heavy 3d game (In my case I tested it playing Age Of Conan)

So basically set it and forget it, memory leaks from programs will be a thing of the past with this tool.

If you need to run it manually you can simply make a shortcut to it in the system32 dir, or just open your run command and type in cleanmem and hit ok!

To see when it works just open the task manager

-----------------------------------------------------------

PLEASE READ: Detailed information on the new 1.4.0 update
I have learned from the past when it comes to Cleanmem, so I'm going to make sure I have all the information needed for anyone to understand what this new feature is and does.

First, the reason why I added the clean file cache to Cleanmem.
On both my Windows XP and Vista computer every time I did a full system backup, or did some heavy gaming my systems turned into snails. I'm sure a lot of you out there have been through this. Even opening a minimized window was horribly slow let alone opening up new programs. even if you left the system going for a bit it wouldn't fully recover and the only way to get the system back was to reboot. This drove me nuts!
So I started looking into it, after my system would get this way I would check my memory (I have 4gb) cpu (quad core) and page file. NONE of them where hardly being used. I was scratching my head. Where is the slow down coming from? So when I tried to simply open my minimized Firefox it was taking forever to redraw on the screen. I look down and see my hard drive light fully lit up! my hard drive was working like mad. Aha! that's where my bottle neck is coming from. but, if the page file is barley being used why is my drive working so hard now? So now I knew where to look.

During my research I came across this, CacheSet http://technet.microsoft.com/en-us/sysinternals/bb897561.aspx
So I read the page thoroughly, download the program and ran it, as it was running my cache was at about 250mb's. (this was when my system was a slug after a full system backup)
I clicked the clear button, cache went down to 4mb and climbed and stayed at around 25mb. Big difference. So time to see if it made a difference in the system.
And WOW my system was responding like normal again. I could open things like I had just rebooted and the hard drive was no longer thrashing around doing simple tasks.

So I wanted to add this to Cleanmem. But I knew good and well I had better be prepared to explain things :-)
I came across 2 other pages during my research into it.
http://smallvoid.com/article/winnt-system-cache.html
and
http://blogs.msdn.com/ntdebugging/archive/2007/11/27/too-much-cache.aspx

So now when Cleanmem runs, both the processes and the file cache and cleaned. Recovering even more memory and performance. Again now, you wont see tons of performance on a normally running system, but it does keep things in shape. Just like Cleanmem always has.
  Download