Author Topic: Tweaking_CleanMem.exe Command Line Switches  (Read 13574 times)

0 Members and 1 Guest are viewing this topic.

Offline armsys

  • Newbie
  • *
  • Join Date: Dec 2016
  • Posts: 5
  • Karma: 0
    • View Profile
Tweaking_CleanMem.exe Command Line Switches
« on: December 13, 2016, 01:14:01 am »
Does Tweaking_CleanMem.exe support any command line parameters?
What/how exactly does it improve the Windows system memory?
Thank you.

Offline Willy2

  • Hero Member
  • *****
  • Join Date: Oct 2011
  • Posts: 1165
  • Karma: 18
    • View Profile
Re: Tweaking_CleanMem.exe Command Line Switches
« Reply #1 on: December 13, 2016, 04:49:38 am »
- CLEANMEM pushes parts of the "In Use" memory to the "Modified" & "Standby" parts of the memory (see Resource Monitor in e.g. Windows 7). The advantage is that the amount of used memory is reduced. Then Windows will write less data to the pagefile and keep more data in the memory itself. And data traffic between the memory and the harddisk is (comparatively) (very) slow.
- As time goes by programs are using more & more memory (memory leaks) and that's countered by CLEANMEM.
- There's also a stand alone version of CLEANMEM available that can be run apart from Windows Repair.
http://www.pcwintech.com/cleanmem

Offline armsys

  • Newbie
  • *
  • Join Date: Dec 2016
  • Posts: 5
  • Karma: 0
    • View Profile
Re: Tweaking_CleanMem.exe Command Line Switches
« Reply #2 on: December 13, 2016, 05:32:36 am »
Hi Willy2,
Thanks for your thorough explanation.
BTW, does Tweaking_CleanMem.exe support command line switches?
Thanks again.

Offline Willy2

  • Hero Member
  • *****
  • Join Date: Oct 2011
  • Posts: 1165
  • Karma: 18
    • View Profile
Re: Tweaking_CleanMem.exe Command Line Switches
« Reply #3 on: December 13, 2016, 05:46:05 am »
- I think it doesn't because it's a "stripped down" version.
- And I don't care to be honest, because I also have the stand alone version installed. That version allows the user to customize CLEANMEM. Then the program will start running when you start your system and it will run every 15 minutes (think: Task Scheduler). Keep in mind: memory usage of programs will grow over time and that needs to be curtailed continuously.
- In contrast to that, the CLEANMEM version that came with Windows Repair runs only once.

Offline armsys

  • Newbie
  • *
  • Join Date: Dec 2016
  • Posts: 5
  • Karma: 0
    • View Profile
Re: Tweaking_CleanMem.exe Command Line Switches
« Reply #4 on: December 13, 2016, 05:59:51 am »
Thanks for your additional info.
Anyway I'll manually schedule Tweeaking_CleanMem.exe to run every 15 minutes.
Thanks for your help.

Offline Willy2

  • Hero Member
  • *****
  • Join Date: Oct 2011
  • Posts: 1165
  • Karma: 18
    • View Profile
Re: Tweaking_CleanMem.exe Command Line Switches
« Reply #5 on: December 13, 2016, 06:03:57 am »
- Yep. Using Task Scheduler is also a way to run that Cleanmem program (if you're don't want to fine tune it more).
- Good suggestion !!!!!

Offline Willy2

  • Hero Member
  • *****
  • Join Date: Oct 2011
  • Posts: 1165
  • Karma: 18
    • View Profile
Re: Tweaking_CleanMem.exe Command Line Switches
« Reply #6 on: December 17, 2016, 06:29:12 am »
- FYI: CLEANMEM doesn't contain sophisticated, complicated & intricate program code that reduces the amount of the "In Use" memory. It's actually comparitively simple to reduce memory usage. From XP onwards, Windows contains an API called "EmptyWorkingSet()" that actually does the "heavy lifting" of reducing memory usage.

Source:
https://msdn.microsoft.com/en-us/library/windows/desktop/ms682606(v=vs.85).aspx
« Last Edit: December 18, 2016, 11:42:05 pm by Willy2 »

Offline armsys

  • Newbie
  • *
  • Join Date: Dec 2016
  • Posts: 5
  • Karma: 0
    • View Profile
Re: Tweaking_CleanMem.exe Command Line Switches
« Reply #7 on: December 17, 2016, 06:22:12 pm »
Hi Willy2,
Thanks for your follow-up with more in-depth technical info from MSDN.
I'm satisfied with the simplicity and performance of Tweaking_CleanMem.exe.
So far, it works fine.
Thanks Willy2.

Offline Willy2

  • Hero Member
  • *****
  • Join Date: Oct 2011
  • Posts: 1165
  • Karma: 18
    • View Profile
Re: Tweaking_CleanMem.exe Command Line Switches
« Reply #8 on: December 17, 2016, 07:05:21 pm »
- I provided more info because a lot of people question that reducing memory usage (except by closing programs) is possible at all.
- Other people say that one shouldn't meddle with the Windows OS. And I agree but using a Windows API is comperatively safe.
- If you use the stand alone version then you can have a system tray icon that displays the % of free memory. But that's your decision.
- Good to hear the program works well.  :cheesy:

Offline armsys

  • Newbie
  • *
  • Join Date: Dec 2016
  • Posts: 5
  • Karma: 0
    • View Profile
Re: Tweaking_CleanMem.exe Command Line Switches
« Reply #9 on: December 17, 2016, 07:18:12 pm »
Is cwintech's cleanmem better than Tweaking_CleanMem.exe in terms of performance?
Is the US$4.99 paid version of cleanmem worth it?

Offline Willy2

  • Hero Member
  • *****
  • Join Date: Oct 2011
  • Posts: 1165
  • Karma: 18
    • View Profile
Re: Tweaking_CleanMem.exe Command Line Switches
« Reply #10 on: December 17, 2016, 08:07:40 pm »
- There's a free and a "paid for" stand alone version. Try the free version for a while. No need to buy a license key right away.
- The free version has all the basic functionality you need including that system tray icon (just fiddle around a bit). It has quite a few options to fine tune the program.
- If you want see the impact of the program then run the program with everthing switched off for a while (only the system tray icon switched on) and compare that with when you let the program clean the memory.
- Good luck.

 :cheesy:

Offline Willy2

  • Hero Member
  • *****
  • Join Date: Oct 2011
  • Posts: 1165
  • Karma: 18
    • View Profile
Re: Tweaking_CleanMem.exe Command Line Switches
« Reply #11 on: December 18, 2016, 09:57:29 am »
- One correction: If you want to use the CLEANMEM PRO/"Paid for" features after a trial period of 7 days then you need to buy a license key for $5.
« Last Edit: December 18, 2016, 11:48:18 pm by Willy2 »

Offline Willy2

  • Hero Member
  • *****
  • Join Date: Oct 2011
  • Posts: 1165
  • Karma: 18
    • View Profile
Re: Tweaking_CleanMem.exe Command Line Switches
« Reply #12 on: December 18, 2016, 11:47:59 pm »
- Second correction: CLEANMEM's system tray icon shows the amount of "In use" + "Modified" memory.

- I think the free trial period of 7 days should be extended to say 30 or even 60 days.  Shane ????