Cleanmem memory manager
#41 OFFLINE
Posted 04 January 2011 - 05:02 PM
#42 OFFLINE
Posted 04 January 2011 - 05:09 PM
It curtails memory usage of e.g ...... Piriform's Defraggler !!! It often keeps running in the background without being used. Then it regularly occupies over 25 Mb of memory. When CM has run memory usage can go down to about 1.5 Mb.
I don't wipe/curtail the System File Cache because then opening a folder can slow down significantly. Explorer then needs to access the harddisk again in order to extract the icons from all the files. One can literally see Windows recreate the content of that folder. And that can be (comparitively) very time consuming.
#43 OFFLINE
Posted 05 January 2011 - 12:37 AM
I care about my work and take a lot of pride in it. Which I hope shows in all my programs and support.
Treat people right, they will treat you the same. :-D
It is a double edge sword though. Caring so much about my work means I take things said about it to heart. And stress about things I really shouldn't stress about lol.
Shane
#44 OFFLINE
Posted 05 January 2011 - 04:12 PM
This is for anyone who is wondering how a user would come up with using less memory as being more stable.
(This is simply my opinion on this and I am looking at it from a repair tech & programmer point of view)
On a system that is under heavy page file usage you get a higher price for using the page file. And not just the slow down.
The hard drive can have a bad file system and even bad sectors, or even a highly fragmented page file. If the page file is messed up in any way from this it will cause the memory in that bad location to fault. Either killing the program or blue screening windows all together.
This is no different than having bad memory. The hard drive just simply is a very large price to pay.
When users use CleanMem and the page file usage is reduced, we also reduce the chances of the crashes caused from the page file. So in turn things "appear" more stable.
But the programs themselves are no more stable than they where before. They are simply more stable by avoiding (In my opinion, the death trap) of the page file.
From a programmers point, a program doesn't know if the memory it is using is in the physical memory or the page file.
Did I explain this correctly? lol
-Shane
#45 OFFLINE
Posted 05 January 2011 - 05:33 PM
Willy2, on 04 January 2011 - 05:09 PM, said:
It curtails memory usage of e.g ...... Piriform's Defraggler !!! It often keeps running in the background without being used. Then it regularly occupies over 25 Mb of memory. When CM has run memory usage can go down to about 1.5 Mb.
I don't wipe/curtail the System File Cache because then opening a folder can slow down significantly. Explorer then needs to access the harddisk again in order to extract the icons from all the files. One can literally see Windows recreate the content of that folder. And that can be (comparitively) very time consuming.
Thanks for letting my know the file cache does that. Its not suppose to, I am using the same api as here
http://technet.micro...ernals/bb897561
Quote
So if you can confirm that the file cache is causing that I will make the file cache disabled as default instead of enabled :-)
Shane
#46 OFFLINE
Posted 05 January 2011 - 07:13 PM
#47 OFFLINE
Posted 06 January 2011 - 12:10 AM
#48 OFFLINE
Posted 06 January 2011 - 04:26 PM
I must eat a part of my own words. I tried a number of things and it seems that putting the words ""file cache"" in the CM ignore list didn't prevent Windows from being forced to rebuild the content of a folder. To again extract the icons from the files on the harddisk.
It could be attributed to the following: Memory usage on my computer doesn't exceed approx. 55% (according to CM 1.65). I ran Defraggler and its memory usage went briefly above 41 Mb and that ""excessive"" memory usage could have forced the Windows XP memory manager to flush a part of the memory which contained precisely those icons.
That begs the question: what is the other approx. 45% of the memory used for ? To store datafiles (mp3, text files), systemfiles (*.dll ???). It seems it certainly contains those (folder-)icons.
#49 OFFLINE
Posted 06 January 2011 - 05:16 PM
Willy2, on 06 January 2011 - 04:26 PM, said:
I must eat a part of my own words. I tried a number of things and it seems that putting the words ""file cache"" in the CM ignore list didn't prevent Windows from being forced to rebuild the content of a folder. To again extract the icons from the files on the harddisk.
It could be attributed to the following: Memory usage on my computer doesn't exceed approx. 55% (according to CM 1.65). I ran Defraggler and its memory usage went briefly above 41 Mb and that ""excessive"" memory usage could have forced the Windows XP memory manager to flush a part of the memory which contained precisely those icons.
That begs the question: what is the other approx. 45% of the memory used for ? To store datafiles (mp3, text files), systemfiles (*.dll ???). It seems it certainly contains those (folder-)icons.
I am working on a new version of the min monitor to include a key hook function, so you can set what key to hit on your keyboard and have cleanmem run. I use this for when I am in games.
Also adding a few other things.
Any changes you think I should make while I am at it?
Shane
#50 OFFLINE
Posted 06 January 2011 - 06:04 PM
smc1979, on 06 January 2011 - 05:16 PM, said:
Any changes you think I should make while I am at it?
Shane
Shane: Windows 7 32bit Ignore List batch file does not work (even if run as admin) I had to manually paste my ignore list into %systemroot%\system32\
DON'T JUST CLEAN EVERYTHING THAT'S CHECKED OFF.
Do your Registry Cleaning in small bits (at the very least Check-mark by Check-mark)
ALWAYS BACKUP THE ENTRY, YOU NEVER KNOW WHAT YOU'LL BREAK IF YOU DON'T.
CCLEANER, RECUVA, DEFRAGGLER AND SPECCY DOCUMENTATION CAN BE FOUND AT www.piriform.com/docs
Link to Winapp2.ini explanation
#51 OFFLINE
Posted 06 January 2011 - 06:05 PM
Nergal, on 06 January 2011 - 06:04 PM, said:
Before I had the mini monitor there was no GUI for cleanmem. So I had the txt files.
Now that I have the mini monitor I am thinking of making a gui for the settings as well now :-)
Shane
#52 OFFLINE
Posted 07 January 2011 - 12:01 AM
smc1979, on 06 January 2011 - 05:16 PM, said:
Also adding a few other things.
Any changes you think I should make while I am at it?
Shane
A suggested change:Set a level of CPU activity to delay cleanmem cheduled task when CPU is very busy.
Thank you for your exellent product.
#53 OFFLINE
Posted 07 January 2011 - 01:15 AM
Eli, on 07 January 2011 - 12:01 AM, said:
A suggested change:Set a level of CPU activity to delay cleanmem cheduled task when CPU is very busy.
Thank you for your exellent product.
I could do something like that.
May I ask why you want that feature? To be honest I am on a quad core 3.4ghz per core system, so CPU isn't really a problem. Do you notice a hit to the system when you have your cpu maxed? say on a single or dual core?
If so then this would be a good option.
Only problem would be that cleanmem runs from the task scheduler. In order for me to do advanced options like that I can let the user choose between using cleanmem by the task scheduler or using the mini monitor. Then I can build the cleanmem functions into the min monitor, and since it will be running all the time (If a user wants) then I can add advanced monitoring like CPU and more.
Shane
#54 OFFLINE
Posted 07 January 2011 - 02:23 AM
smc1979, on 07 January 2011 - 01:15 AM, said:
May I ask why you want that feature? To be honest I am on a quad core 3.4ghz per core system, so CPU isn't really a problem. Do you notice a hit to the system when you have your cpu maxed? say on a single or dual core?
If so then this would be a good option.
Only problem would be that cleanmem runs from the task scheduler. In order for me to do advanced options like that I can let the user choose between using cleanmem by the task scheduler or using the mini monitor. Then I can build the cleanmem functions into the min monitor, and since it will be running all the time (If a user wants) then I can add advanced monitoring like CPU and more.
Shane
#55 OFFLINE
Posted 07 January 2011 - 02:31 AM
Eli, on 07 January 2011 - 02:23 AM, said:
Thats what is hard to tell. Last night was playing Battlefield 2 Vietnam with some friends.
I gave them all a test exe that would run cleanmem when they hit the "T" key on their keyboard. As we where all in game I had them all run cleanmem during a firefight and none of them felt any hicups or anything. (They all now love cleanmem lol)
I have dual monitors, I had the mini monitor on the 2nd screen. While playing I ran cleanmem and 400 mb of memory where freed from the game and it didn't skip a beat. the game would slowly climb back up, but I have cleanmem running every 15 min on my system. (I also have 8gb of ram and my page file disabled)
They did not have their page file disabled, and we all have pretty high end gaming rigs. (So not sure how good of a test this would be vs older systems, but this is while playing a game after all)
CPU has never seem to be a problem as cleanmem needs VERY little.
Cleanmem opens, loads the txt files, loops through the process list and runs the api call on each or by how ever the user has their settings, records any logs if set, and closes itself. happens all very fast.
Perhaps it would be better to just have cleanmem set to run in a low cpu priority instead? Thoughts?
Shane
#56 OFFLINE
Posted 07 January 2011 - 02:43 AM
smc1979, on 07 January 2011 - 02:31 AM, said:
I gave them all a test exe that would run cleanmem when they hit the "T" key on their keyboard. As we where all in game I had them all run cleanmem during a firefight and none of them felt any hicups or anything. (They all now love cleanmem lol)
I have dual monitors, I had the mini monitor on the 2nd screen. While playing I ran cleanmem and 400 mb of memory where freed from the game and it didn't skip a beat. the game would slowly climb back up, but I have cleanmem running every 15 min on my system. (I also have 8gb of ram and my page file disabled)
They did not have their page file disabled, and we all have pretty high end gaming rigs. (So not sure how good of a test this would be vs older systems, but this is while playing a game after all)
CPU has never seem to be a problem as cleanmem needs VERY little.
Cleanmem opens, loads the txt files, loops through the process list and runs the api call on each or by how ever the user has their settings, records any logs if set, and closes itself. happens all very fast.
Perhaps it would be better to just have cleanmem set to run in a low cpu priority instead? Thoughts?
Shane
#57 OFFLINE
Posted 07 January 2011 - 02:46 AM
Eli, on 07 January 2011 - 02:43 AM, said:
For now, personally I don't think a cpu option is needed. But just because I think that doesn't mean I am right. If anyone else requests it I will add it ;-)
Shane
#58 OFFLINE
Posted 07 January 2011 - 09:09 AM
Yes, I certainly would welcome a GUI for the CM settings. Personally, I would reduce drasticly/significantly the number of options concerning the appearence (like e.g. color options) of the mini monitor and put more emphasis and priority on a relatively simple and straightforward GUI for the basic settings like the:
-- ignore list
-- log settings list
-- only list
-- file chache
-- automatically start upon Windows start up
(But isn't this a discussion that should take place at the PcWinTech.com forum ???)
Remember the KISS (Keep It Simple St***d) principle ??
#59 OFFLINE
Posted 07 January 2011 - 11:04 AM
Willy2, on 07 January 2011 - 09:09 AM, said:
Yes, I certainly would welcome a GUI for the CM settings. Personally, I would reduce drasticly/significantly the number of options concerning the appearence (like e.g. color options) of the mini monitor and put more emphasis and priority on a relatively simple and straightforward GUI for the basic settings like the:
-- ignore list
-- log settings list
-- only list
-- file chache
-- automatically start upon Windows start up
(But isn't this a discussion that should take place at the PcWinTech.com forum ???)
Remember the KISS (Keep It Simple St***d) principle ??
Your right this should be over in my forums. Didn't mean to hijack the thread :-)
I wanted feedback more than traffic :-)
I wont be removing any of the current settings. Almost all those settings I used from my Simple Internet Meter, and all of those where by user request. So the cleanmem mini monitor is all by user request of what is in there.
If I make the settings gui it will be a exe by itself as well.
Anyways I wont keep taking up space here, and I will try to have an update out in the next day or so :-D
Take care!
Shane
#60 OFFLINE
Posted 07 January 2011 - 11:32 AM
Eli, on 07 January 2011 - 12:01 AM, said:
I have a single core Celeron 440 and 2GB RAM.











