Does anyone know of a RAM defrag tool that works in windows 7?
yes I'm aware that an actual defrag of RAM does not improve access performance and that rebooting will clear the RAM, etc etc.
I want it because usually a ram defrag can recover unused memory.
or if someone knows an alternate solution to accomplishing the same thing....
basically after windows has been running for quite a while there seems to be a lot of RAM that is not available....but not in use either.
for example, right now, I only have about 1.2GB out of 6GB free
this is not because I have ~5GB worth of memory being dedicated to open applications and windows.
I could restart...open up the same applications and only be using like 2GB vs the current ~5GB
back in XP days I would use system mechanic's ram defrag and it'd work fairly well. I don't believe they have it in their software any longer though. any ideas?
yes I'm aware that an actual defrag of RAM does not improve access performance and that rebooting will clear the RAM, etc etc.
I want it because usually a ram defrag can recover unused memory.
or if someone knows an alternate solution to accomplishing the same thing....
basically after windows has been running for quite a while there seems to be a lot of RAM that is not available....but not in use either.
for example, right now, I only have about 1.2GB out of 6GB free
this is not because I have ~5GB worth of memory being dedicated to open applications and windows.
I could restart...open up the same applications and only be using like 2GB vs the current ~5GB
back in XP days I would use system mechanic's ram defrag and it'd work fairly well. I don't believe they have it in their software any longer though. any ideas?
Those ram/memory optimizers are nothing but pure snake-oil. As good an article about it as any,
The Truth About Windows Memory O
Do yourself and Windows a favor, let Windows manage it.
The Truth About Windows Memory O
Do yourself and Windows a favor, let Windows manage it.
yeah none of that is really news to me. I still appear to have ram 'in use' that's actually not though
so 'letting windows manage it' is not really the best solution in this situation
so 'letting windows manage it' is not really the best solution in this situation
Where are you looking that it is showing it "in use"?
task manager / memory usage
Post a screen shot. Also hit the Start button and type in resmon and hit enter and post a screen shot of that as well.
Task Manager:
Resource Monitor:
Resource Monitor:
Something doesn't look right here. This is what mine shows:
Have you disabled your virtual memory (paging file)?
Have you disabled your virtual memory (paging file)?
Up time 35 days? Let's have one of resmon after a restart. And even after 35 days it still shouldn't look like that unless you're running something that has a massive memory leak.
Mine after 3 days of up time,
And that is with playing several different games, converting a few movies, general usage, etc.
Mine after 3 days of up time,
And that is with playing several different games, converting a few movies, general usage, etc.
By rebooting you are just making the page file rebuild itself again.
Quote:
Something doesn't look right here. This is what mine shows
except I have a triple core and 2GB more ram
I haven't disabled my page file...and that's not really relevant. this is about the physical ram
Quote:
Up time 35 days?
and I know a restart will trash the ram and it'll look a lot different
that was one of my first points.
I just want a tool that allows recovery of any ram that's no longer actually in use...as obviously I'm not using ~5GB of ram...but yet windows / my pc seems to show that I am
I'm not sure if this is due to programs not properly clearing out the ram when they are closed or what
Or instead of looking for a band-aid you could try and figure out which program is causing the problem and check for updates or an alternative.
If you want to try and figure out what is causing it start with this,
Process Explorer
provides more info than Windows own tools.
If you want to try and figure out what is causing it start with this,
Process Explorer
provides more info than Windows own tools.
what if it's something I can't replace, or it's multiple applications, or just windows itself?
I keep most of my stuff up to date if possible. I know firefox sometimes has some leak issues...but I don't know if that's the same as it not removing memory it has allocated for itself. and I'm not giving up my firefox =)
I don't think that software will be of any use. it's only going to tell me about currently opened processed....dlls they have loaded and so forth.
I keep most of my stuff up to date if possible. I know firefox sometimes has some leak issues...but I don't know if that's the same as it not removing memory it has allocated for itself. and I'm not giving up my firefox =)
I don't think that software will be of any use. it's only going to tell me about currently opened processed....dlls they have loaded and so forth.
for anyone else that this may be helpful too:
it seems the main program responsible for over allocating all my RAM was the windows indexer
I rebooted and decided to kill some processes prior to see if any of them were the culprits
upon killing it my RAM use dropped about 1.5GB - 2GB even though task manager reported it as using only 100MB or so
this was undoubtedly related to me rebuilding the index database earlier that day (I guess indexing ~2million items takes a good chunk of RAM =P)
it'd still be nice to have a RAM defrag / scrubber for situations where (closed or open) applications unnecessarily still have allocated space though. so if anyone knows of anything, let me know
it seems the main program responsible for over allocating all my RAM was the windows indexer
I rebooted and decided to kill some processes prior to see if any of them were the culprits
upon killing it my RAM use dropped about 1.5GB - 2GB even though task manager reported it as using only 100MB or so
this was undoubtedly related to me rebuilding the index database earlier that day (I guess indexing ~2million items takes a good chunk of RAM =P)
it'd still be nice to have a RAM defrag / scrubber for situations where (closed or open) applications unnecessarily still have allocated space though. so if anyone knows of anything, let me know
It looks to me you just have to many things running at the same time. Winamp, several browsers, ect. Your ram and Windows 7 looks like it is working properly you just have a lot of things open all at one time.
CleanMem v.1.5.1 | PcWinTech.com
If the problem is that processes are holding on to RAM, this works quite well.
If the problem is that processes are holding on to RAM, this works quite well.
thnx for the reply Johnson, will check that out!
CleanMem v.1.5.1 | PcWinTech.com
If the problem is that processes are holding on to RAM, this works quite well.
If the problem is that processes are holding on to RAM, this works quite well.
This program was mentioned on another board. Apparently it works by enumerating running process and calling EmptyWorkingSet() API call on each process.
A better solution may be to set Superfetch to cache only boot files by setting
EnablePrefetcher and EnableSuperfetch registry keys to 2.
See this link and my comment at the bottom:
Change SuperFetch to Only Cache System Boot Files in Vista - How-To Geek
A better solution may be to set Superfetch to cache only boot files by setting
EnablePrefetcher and EnableSuperfetch registry keys to 2.
See this link and my comment at the bottom:
Change SuperFetch to Only Cache System Boot Files in Vista - How-To Geek
Well if there are still a lot of free RAM space, let Windows take care of it. If you feel you are getting a little bit low on free memory, close any programs that are not in use or consuming a lot of resources. Doing a quick Goggle search will make a lot of results.
I have used RAM cleaners. Apparently, if you have cleared too much RAM, your PC might hang for a while.
I have used RAM cleaners. Apparently, if you have cleared too much RAM, your PC might hang for a while.
My original issue was something (a program...I found it had been the index service) had left memory allocated but was no longer actually using it. it was not because I 'had too many programs open' or etc
I appreciate the replies but some of you seem to have missed the point.
I always keep my startup clean of BS and have numerous services disabled that I don't need, etc.
yeah I've used ones that have done the same thing. this one doesn't seem to have that problem. it's quite instant and I really haven't noticed any performance degradation after using it. honestly...if anything....stuff runs better. but that might just be some placebo.
I guess that's a bit outta my IT scope....cuz it doesn't mean much to me =P
superfetch is there for a reason though, I'd like to leave it alone. since I open pretty much the same programs all the time it's probably being beneficial to me
I appreciate the replies but some of you seem to have missed the point.
I always keep my startup clean of BS and have numerous services disabled that I don't need, etc.
Quote:
I have used RAM cleaners. Apparently, if you have cleared too much RAM, your PC might hang for a while.
Quote:
Apparently it works by enumerating running process and calling EmptyWorkingSet() API call on each process.
superfetch is there for a reason though, I'd like to leave it alone. since I open pretty much the same programs all the time it's probably being beneficial to me
Ram cleaners are completely useless in windows 7
Define Ram Cleaner. CleanMem as pointed out by MilesAhead uses an API that Win 7 uses itself for the same purpose. Does that also make Windows 7 useless? CleanMem just allows you to use what Win 7 is already doing except Win 7 in my opinion doesn't do it in a timely or thorough enough manner.
Perhaps I am missing something here but ...
If you have a application that truly has a memory leak and causing problems you need to isolate the culprit and either remove it, or update/patch that app.
Things like this just mask the issue and fix nothing. The memory leak will still be there.
All you will do by using apps like this, as well as disabling services to "tweak' the system to run better is break it, and make things worse in the long run.
If you leave all the services set as Win7 has them, and don't worry about RAM use, the system will be far more responsive and smoother running than if you try to optimize it.
It tweaks itself.
As far as RAM use:
When you run a program and close it, It doesnt always get dumped from memory, just moved to standby.
That way, if you decide to use it later, (amoung everything else 7 thinks you might use) its already loaded in memory and ready to go. It simply changes it to in use status.
It will dump things out of memory you are not currently using whenever a application or game requests that space if needed.
I guess I've never understood why anyone would want to stop the OS from using what RAM it has available to it, to its full extent.
You have have it, why let it set empty when the OS can make use of it?
By stopping it from doing so, or manually cleaning it out constantly is just crippling the system.
I know there will be those who completely disagree, but thats my 2 cents.
If you have a application that truly has a memory leak and causing problems you need to isolate the culprit and either remove it, or update/patch that app.
Things like this just mask the issue and fix nothing. The memory leak will still be there.
All you will do by using apps like this, as well as disabling services to "tweak' the system to run better is break it, and make things worse in the long run.
If you leave all the services set as Win7 has them, and don't worry about RAM use, the system will be far more responsive and smoother running than if you try to optimize it.
It tweaks itself.
As far as RAM use:
When you run a program and close it, It doesnt always get dumped from memory, just moved to standby.
That way, if you decide to use it later, (amoung everything else 7 thinks you might use) its already loaded in memory and ready to go. It simply changes it to in use status.
It will dump things out of memory you are not currently using whenever a application or game requests that space if needed.
I guess I've never understood why anyone would want to stop the OS from using what RAM it has available to it, to its full extent.
You have have it, why let it set empty when the OS can make use of it?
By stopping it from doing so, or manually cleaning it out constantly is just crippling the system.
I know there will be those who completely disagree, but thats my 2 cents.
i agree with wishmaster. fix the cause not the symptoms. fix the leak. disable windows indexing if needed.
and one sure fire method to ensure you always have half your memory free is to open the case, remove half of your memory boards & lock them in a safe. they'll always be free then. free memory is memory that is not being used. useless.
as it's up to you, if you insist on persuing this, try 'process lasso' from bitsum, in it's current beta incarnation it does allow you to set memory and cpu% limits on a process which if exceeded will shutdown or restart the process. it also allows you to trim (manually or on a schedule) the memory of all, or of individual processes and they even tell you it's NOT RECCOMMENDED. it also adjusts prioritys of processes that are hogging the cpu...they have a freeware version if you are tight, i've got a lifetime license myself.
and one sure fire method to ensure you always have half your memory free is to open the case, remove half of your memory boards & lock them in a safe. they'll always be free then. free memory is memory that is not being used. useless.
as it's up to you, if you insist on persuing this, try 'process lasso' from bitsum, in it's current beta incarnation it does allow you to set memory and cpu% limits on a process which if exceeded will shutdown or restart the process. it also allows you to trim (manually or on a schedule) the memory of all, or of individual processes and they even tell you it's NOT RECCOMMENDED. it also adjusts prioritys of processes that are hogging the cpu...they have a freeware version if you are tight, i've got a lifetime license myself.
The reason I stated there might be to many things running is OP post #7. It shows winamp 582 kb, Firefox 578 kb, 4 chrome open 198000 kb, Search inderer 117000 kb and of course we can't see it all. If the rest of the list is like this would suggest to me there are a lot of things open and using up the ram. Now if the OP wants or needs all this running at the same time stick more ram in your computer. Your ram is working properly, you are just using it all.
...
I guess that's a bit outta my IT scope....cuz it doesn't mean much to me =P
superfetch is there for a reason though, I'd like to leave it alone. since I open pretty much the same programs all the time it's probably being beneficial to me
Quote:
Apparently it works by enumerating running process and calling EmptyWorkingSet() API call on each process.
superfetch is there for a reason though, I'd like to leave it alone. since I open pretty much the same programs all the time it's probably being beneficial to me
This memory utility is just doing that. If the program does need the memory it will call functions to get some from the OS. So you can be giving it up just to turn around and ask for it back. It may be ok to use it on some apps. Guess that's why it has a list to control the apps you use it on or exclude some apps or whatever.
Afa Superfetch, if you don't want to change the setting, I'd still advise deleting the stats so it doesn't cache the program with the memory leak. Open an admin command prompt. Change to C:\Windows\Prefetch. and do
delete *.*
It will calculate new stats from there. Contrary to popular believe it doesn't take like 5 years to figure out what programs you use a lot. When I delete the stats for my boot files, I get one slow boot then it's back in business.
these best describe my feelings about this thread:
once again I'll reiterate....the problem was / is NOT a program with a memory leak
it was because windows index service had memory allocated for it that it was no longer using
the reason it had so much allocated is because it just ran through ~2 million files rebuilding the index
somehow windows (or indexing itself) decided because of this that it still needed a bunch of ram allocated
thnx for the info MilesAhead, that all seems to make sense!
yeah. the apps that need it will just ask for it again, but the apps that really don't need it and have a bunch allocated....it'll solve that issue. which is exactly what I was wanting.
-Layback Bear
I have pretty much the same things open now as I did then and I have ~2.5GB of free ram (this is without doing anything with the cleanmem). I did NOT have too many things open. also you have kb confused with MB for the FF and winamp use.
once again I'll reiterate....the problem was / is NOT a program with a memory leak
it was because windows index service had memory allocated for it that it was no longer using
the reason it had so much allocated is because it just ran through ~2 million files rebuilding the index
somehow windows (or indexing itself) decided because of this that it still needed a bunch of ram allocated
thnx for the info MilesAhead, that all seems to make sense!
yeah. the apps that need it will just ask for it again, but the apps that really don't need it and have a bunch allocated....it'll solve that issue. which is exactly what I was wanting.
-Layback Bear
I have pretty much the same things open now as I did then and I have ~2.5GB of free ram (this is without doing anything with the cleanmem). I did NOT have too many things open. also you have kb confused with MB for the FF and winamp use.
Do you have to use a page file in windows 7? Its just my machine never really uses more than 2.5gb of my 4gb of ram, the annoying thing tho i noticed that my machine does use virtual memory at times even tho my RAM is not fully used? How do you turn off or change the page file size that you set for your HD?
pacaveli420 could please post your resmon again, I like learning things.
Firefox 578.040 KB.
Firefox 578.040 KB.
not 578.040 KB
578,040 KB
craney5 you can shut off page file in system properties
run sysdm.cpl
advanced
performance settings
advanced
change
uncheck the auto option at the top and you can shut it off
generally 7 is smart enough to use ram and page file when necessary though
I shut off paging in XP because it wasn't....but I've left it alone on 7
It appears that you have made a good improvement, glad to see that. After using it that way for a while let us know the ups and downs.
that is with no changes...that's why I said it's without the cleanmem
the only change was I rebooted, which cleared the indexing issue
usually after I run cleanmem it'll drop my ram use down to about 2.5-3GB
the only change was I rebooted, which cleared the indexing issue
usually after I run cleanmem it'll drop my ram use down to about 2.5-3GB
not 578.040 KB
578,040 KB
craney5 you can shut off page file in system properties
run sysdm.cpl
advanced
performance settings
advanced
change
uncheck the auto option at the top and you can shut it off
generally 7 is smart enough to use ram and page file when necessary though
I shut off paging in XP because it wasn't....but I've left it alone on 7
Thanks for that mate, When you set your own page file size in windows is there a "general rule of thumb" to how big this page file should be compared to how much RAM you have installed?
Thanks again
as someone else was saying though....free ram is kinda useless.
and I never really run out (except when something leaks a bunch or indexing allocates 2GB to itself =P)
my general rule of thumb is to let windows (if win 7) manage it. that way it can increase it if larger is needed =P. windows currently has mine set to 6GB right now, matching my ram. in older days a rule I heard a lot was 1.5x as much ram as you have....but that's kinda a stupid rule. if you had a PC with only 128MB you'd need to have a bigger page file to offset that. otherwise you couldn't open much. you'll want it to be a decent size....but not be taking up too much space on your hdd (if you have limited space).
as someone else was saying though....free ram is kinda useless.
and I never really run out (except when something leaks a bunch or indexing allocates 2GB to itself =P)
=========================================
edit: I used this setting originally because Vista ran my HD on so badly. Since I originally posted this I have changed Superfetch setting back to default and use a defragged page file. Seems to run smooth. And if any apps just have to have a page file, well it's there. W7 handles it much better than Vista.
=================================================
What works is what works for you. There is no "one answer." That's why the number is adjustable in the first place. If one number worked way better than any other, they'd just hard wire it in the code like Avagadro's constant.
OP #1 post. Does anyone know of a RAM defrag tool that works in windows 7? My answer is, no I do not.
Memory Defragmenter - CNET Download.com
this one works in win7(all flavours) if you change the compatibilty to windows xp sp3 and run as administrator
this one works in win7(all flavours) if you change the compatibilty to windows xp sp3 and run as administrator
I play an online game that has problems crashing because it has "memory leak".
No, they probably won't ever fix it... so am looking for a work around.
A ram clearing program was suggested by another player.
I found 2 programs at CNET downloads that say part of what they do is clean the RAM
(and are Win 7 compatible)
Advanced System Optimizer
and
System Mechanic Free
and the above mentioned
CleanMem
has anyone tried them?
I am wondering if they can be used while the game is open?
thx
No, they probably won't ever fix it... so am looking for a work around.
A ram clearing program was suggested by another player.
I found 2 programs at CNET downloads that say part of what they do is clean the RAM
(and are Win 7 compatible)
Advanced System Optimizer
and
System Mechanic Free
and the above mentioned
CleanMem
has anyone tried them?
I am wondering if they can be used while the game is open?
thx
Just for grins I installed and messed around with CleanMem. My memory usage looked just about the way it does anyway. Many of my task tray hotkey apps I call EmptyWorkingSet() to return unneeded memory to the system. I noticed after running it using the mini-monitor where you could manually trigger it, my copies of chrome.exe in memory went from 25-35 MB each in Task Manager to a couple of MB. But after a few seconds/minutes the usage was right back up there.
I found with chromium it's better to use --renderer-process-limit=n switch to keep the number of instances from going wild.
The long of it and short of it, didn't do any harm, didn't really do any good as my system is tuned to only park a couple hundred MB in the page file. My typical peak page file usage is about 225 MB. With CleanMem it actually went up to about 330 MB. Inconsequential. But on my system there seems no point in running it. It may help more on systems with only 1 GB ram.
I found with chromium it's better to use --renderer-process-limit=n switch to keep the number of instances from going wild.
The long of it and short of it, didn't do any harm, didn't really do any good as my system is tuned to only park a couple hundred MB in the page file. My typical peak page file usage is about 225 MB. With CleanMem it actually went up to about 330 MB. Inconsequential. But on my system there seems no point in running it. It may help more on systems with only 1 GB ram.
Mem cleaners? in 2012? I thought they (should) have died with Geocities...lol
Waste of time.
Waste of time.
Không có nhận xét nào:
Đăng nhận xét