Bookmark and Share

Author Topic: Cleanmem, which command line options?  (Read 5728 times)

0 Members and 1 Guest are viewing this topic.

Offline Ray_Johnson

  • PcWinTech Jr. Member
  • Join Date: Nov 2013
  • Posts: 2
  • Karma: 0
Cleanmem, which command line options?
« on: November 19, 2013, 02:14:55 AM »
Hi,

I recently installed Cleanmem and Mini Monitor.
I added a task in Task Scheduler (Windows 7, 64 bit) to run Cleanmem every 5 minutes.
I followed your example on: http://www.pcwintech.com/using-power-windows-task-scheduler
I noticed that on the 'Edit Action' tab, you selected 'Start a program' and entered 'c:\windows\system32\CleanMem.exe'.
Under 'Add arguments (optional)' you entered a (command line) parameter of '-5'.
What is this parameter? Are there more command line parameters because I could not find a list of them.

PS. On my Windows 7, CleanMems folder is: C:\Program Files (x86)\CleanMem

Kind regards
« Last Edit: November 19, 2013, 02:16:36 AM by Ray_Johnson »

PcWinTech.com Forums

Cleanmem, which command line options?
« on: November 19, 2013, 02:14:55 AM »

Offline Shane

  • Top Geek, err uh Dog.
  • PcWinTech Administrator
  • PcWinTech Guru
  • *******
  • Join Date: Jul 2008
  • Posts: 16,846
  • Location: USA
  • Karma: 523
  • "Knowledge should be shared not hidden."
Re: Cleanmem, which command line options?
« Reply #1 on: November 19, 2013, 11:54:47 AM »
No that is an old argument from an old version, I just forgot to remove it lol

But it doesnt hurt anything being there.

Instead cleanmem uses the cleanmem.ini file.

And cleanmem.exe and the ini get copied to the system32 of sywow64 folder in Windows because of permissions in order to run.

I included a tool with cleanmem to set the settings you want. The tool will then update the ini and then copy the ini to the proper folder :-)

Shane
(My weekends belong to my wife and kids, I will try my best to answer all posts daily during the work week)

(About Shane)
Site Owner, Top Admin, Lead Programmer, Wife & 5 kids, Needs a lot more coffee.

When people ask "Why fix what isn't broken?" I reply "To make it better."
"Only a life lived for others is a life worthwhile"
Honor & Respect is all that matters.

Owner & Programmer of: www.pcwintech.com & www.tweaking.com

Offline Ray_Johnson

  • PcWinTech Jr. Member
  • Join Date: Nov 2013
  • Posts: 2
  • Karma: 0
Re: Cleanmem, which command line options?
« Reply #2 on: November 19, 2013, 12:27:58 PM »
Hi Shane,

Ok, thanks for your answer.

And cleanmem.exe and the ini get copied to the system32 of sywow64 folder in Windows
Not on my Windows 7 pc. I only find CleanMem in:
C:\Program Files (x86)\CleanMem\CleanMem.exe
But that's okay. It runs from there and I set Task Scheduler to call it on that location.

Been using it for a day now on my Win 7 pc (8 GB) to test drive and it performs fine. I've been opening several instances of my CAD software to use up as many RAM as I could and CleanMem still managed to gain back a few (and more) percentages of RAM.
My system also seems to run smoother. But maybe that is due to a placebo effect (as mentioned elsewhere)  :wink:

Anyway, I installed it just now on a Windows XP pc because that's what I was test driving it for.
On XP, CleanMem is indeed also installed on the C:\Windows\System32 folder.
Thanks!!

Kind regards
Ray


Offline Shane

  • Top Geek, err uh Dog.
  • PcWinTech Administrator
  • PcWinTech Guru
  • *******
  • Join Date: Jul 2008
  • Posts: 16,846
  • Location: USA
  • Karma: 523
  • "Knowledge should be shared not hidden."
Re: Cleanmem, which command line options?
« Reply #3 on: November 19, 2013, 12:32:58 PM »
Quote
But maybe that is due to a placebo effect

What normally happens is that Windows isnt needing to use the page file as much, which is ran off the hard drive and is dirt slow. The less the page file is used the better the system performs.

Thats how cleanmem helps speed up the system. By helping Windows not to need to use the page file as much :-)

The hard drive is the slowest part of the system. SO the less you need to use the drive the better.

Shane
(My weekends belong to my wife and kids, I will try my best to answer all posts daily during the work week)

(About Shane)
Site Owner, Top Admin, Lead Programmer, Wife & 5 kids, Needs a lot more coffee.

When people ask "Why fix what isn't broken?" I reply "To make it better."
"Only a life lived for others is a life worthwhile"
Honor & Respect is all that matters.

Owner & Programmer of: www.pcwintech.com & www.tweaking.com

PcWinTech.com Forums

Re: Cleanmem, which command line options?
« Reply #3 on: November 19, 2013, 12:32:58 PM »