Submit Your Article Forum Rules FAQ About Us
Search the forums:

Tech Support Team


Hello and Welcome to Tech Support Team! Before you can start posting and answering questions, you'll have to register. Registration is fast, simple and absolutely free! Feel free to browse through existing questions by choosing the forum you want to visit below.



Comment
Simple way to clear your RAM without installing a program to do it
Published by Studio 2
9th January 2008
Simple way to clear your RAM without installing a program to do it

Lots of people have tried RAM cleaning programs, which obviously means buying, downloading and most of the time installing, but there is an easier way.

If you run Windows on a PC you’ll know that after a while your system will start running slowly, sometimes forcing you to reboot. Most people will restart their computer to remove any idle processes. But there is a simpler way.

Just follow these steps:

Right click on your desktop and select New - Shortcut.
Type %windir%\system32\rundll32.exe advapi32.dll,ProcessIdleTasks in the text field.

Click <Next>.

Give your shortcut a name like 'Clear RAM'.

Click <Finish>.

Now whenever your computer starts running slowly or after you close a major program or game, double click this shortcut to clear your RAM.

If anyone tries this and it doesn't work, let us know.
Page copy protected against web site content infringement by Copyscape

Published by
Studio 2's Avatar
TST Member
Join Date: Nov 2007
Location: Portsmouth - Hampshire
Posts: 99
Reputation: Studio 2 is on a distinguished road


Tutorial Tools
  Top
Old 9th January 2008, 01:16 PM
Jaymie1989's Avatar
Account Disabled
 
Join Date: Dec 2007, 276 posts.
Location: Brighton
Reputation: Jaymie1989 is on a distinguished road
How would we know if it works or not?
Reply With Quote
  Top
Old 9th January 2008, 01:33 PM
tomrca's Avatar
TST Expert
 
Join Date: Dec 2007, 702 posts.
Location: sunderland
Reputation: tomrca is on a distinguished road
can we assume that you've tried it and it worked for you?
__________________
click to access
hijackthis
free firewall
Reply With Quote
  Top
Old 9th January 2008, 01:37 PM
Joshuashawharvey's Avatar
Community Moderator
 
Join Date: Oct 2007, 1,028 posts.
Location: Stoke-on-Trent, England
Reputation: Joshuashawharvey is on a distinguished road
Easier still, restart your computer. RAM is volatile so it's data is lost when the computer is switched off. Restarting it is effectively turning it off then back on. My friend's computer used to restart itself after being on a heavy load application, which I thought was pretty cool, but does have major disadvantages.
Nifty little tool though

Last edited by Joshuashawharvey; 9th January 2008 at 02:12 PM.
Reply With Quote
  Top
Old 9th January 2008, 01:55 PM
Howard's Avatar
TST Master
 
Join Date: Dec 2007, 3,366 posts.
Reputation: Howard has a spectacular aura aboutHoward has a spectacular aura about
That`s a very good question Jaymie.

How does it actually work?

Ah, I`m a little clearer now, see THIS.

Maybe also do a Google search for:

%windir%\system32\rundll32.exe advapi32.dll,ProcessIdleTasks

Regards Howard
Reply With Quote
  Top
Old 9th January 2008, 02:13 PM
Albert Lionheart's Avatar
TST Oracle
 
Join Date: Dec 2007, 8,001 posts.
Location: Market Haemorrhoids, Middle England
Reputation: Albert Lionheart is on a distinguished road
Is this a spoof?
I ran this and it actually added to the number of running processes!
Woss your game?
__________________
Confuse and Prosper.
Reply With Quote
  Top
Old 9th January 2008, 02:29 PM
Studio 2's Avatar
TST Member
 
Join Date: Nov 2007, 99 posts.
Location: Portsmouth - Hampshire
Reputation: Studio 2 is on a distinguished road
Spoof? Why would I post a spoof?

Of course it adds a process - it's a running process!

Howard's right, if you don't understand, look it up on the search engines.

Quote:
Originally Posted by Joshuashawharvey View Post
Restarting it is effectively turning it off then back on.
That's not strictly true. Restarting, as in rebooting is not the same. The only way to be sure is turning the PC off, i.e. shutdown, leave for 5-10 seconds then switch it back on.

The process of clearing RAM is not difficult, but if you want to go looking for a small program that effectively fills your RAM then removes it, go ahead - the other option is that described above - turn off and restart.
Reply With Quote
  Top
Old 9th January 2008, 02:30 PM
Joshuashawharvey's Avatar
Community Moderator
 
Join Date: Oct 2007, 1,028 posts.
Location: Stoke-on-Trent, England
Reputation: Joshuashawharvey is on a distinguished road
Well yes that's true, but restarting it still clears your RAM and that's the point. Effectively doesn't mean it's exactly the same
Reply With Quote
  Top
Old 9th January 2008, 02:36 PM
Albert Lionheart's Avatar
TST Oracle
 
Join Date: Dec 2007, 8,001 posts.
Location: Market Haemorrhoids, Middle England
Reputation: Albert Lionheart is on a distinguished road
I should have been more specific - it added 4 processes for about 1 min and stopped 2 = two more than I had in the first place. OK so I started with 38 which is not many. I now have 40 so will reboot and take it back to 38. Good excuse to have a tweak and see what else I can get rid of!
__________________
Confuse and Prosper.
Reply With Quote
  Top
Old 9th January 2008, 02:41 PM
Studio 2's Avatar
TST Member
 
Join Date: Nov 2007, 99 posts.
Location: Portsmouth - Hampshire
Reputation: Studio 2 is on a distinguished road
Quote:
Originally Posted by Joshuashawharvey View Post
Well yes that's true, but restarting it still clears your RAM and that's the point. Effectively doesn't mean it's exactly the same
Actually, your RAM can still hold random redundant data if not powered down, that was my point.

@Albert Lionheart

38? That's a lot. About 20 should do. You really should think about getting rid of startup items. I assume you're using XP?
Reply With Quote
  Top
Old 9th January 2008, 02:46 PM
Joshuashawharvey's Avatar
Community Moderator
 
Join Date: Oct 2007, 1,028 posts.
Location: Stoke-on-Trent, England
Reputation: Joshuashawharvey is on a distinguished road
True, but it will still be clearer than it was previous, especially opposed to that tool which apparently adds processes instead of clearing according to Albert. Increasing the size of your Pagefile could be a better solution as it may be pagefile running low. Pagefile swaps data from your hard drive to your RAM, and you may not have enough allocated to keep your RAM happy, especially if you run heavy load applications.

Last edited by Joshuashawharvey; 9th January 2008 at 02:53 PM.
Reply With Quote
  Top
Old 9th January 2008, 02:51 PM
Studio 2's Avatar
TST Member
 
Join Date: Nov 2007, 99 posts.
Location: Portsmouth - Hampshire
Reputation: Studio 2 is on a distinguished road
rundll32.exe and advapi32.dll are the running processes, they control memory.

Obviously they'll be running, how else would the system do anything?

It clears redundant and idle data from your ram. Ram by nature is very nasty, volatile and likes to hold data until powered off, even if you use clearing methods.
Reply With Quote
  Top
Old 9th January 2008, 02:51 PM
Albert Lionheart's Avatar
TST Oracle
 
Join Date: Dec 2007, 8,001 posts.
Location: Market Haemorrhoids, Middle England
Reputation: Albert Lionheart is on a distinguished road
Yes - I know I could do better but I have the some things like a NAS drive management, Intel RAID, HP printer, etc. Still it seems to gallop along without me having to wait for it so it is good enough for me!
__________________
Confuse and Prosper.
Reply With Quote
  Top
Old 9th January 2008, 03:01 PM
Studio 2's Avatar
TST Member
 
Join Date: Nov 2007, 99 posts.
Location: Portsmouth - Hampshire
Reputation: Studio 2 is on a distinguished road
Quote:
Originally Posted by Joshuashawharvey View Post
True, but it will still be clearer than it was previous, especially opposed to that tool which apparently adds processes instead of clearing according to Albert. Increasing the size of your Pagefile could be a better solution as it may be pagefile running low. Pagefile swaps data from your hard drive to your RAM, and you may not have enough allocated to keep your RAM happy, especially if you run heavy load applications.
You have it back to front, RAM data is dumped to your swapfile when RAM runs out and the space is needed to be overwritten.

it is then 'swapped back' to RAM when needed, providing there is space.

Using a swap file can actually slow your machine down in some circumstances.

If you use the pagefile.sys, especially if it's quite large, don't forget to defragment the pagefile.sys space properly as the defrag manager in XP doesn't do it automatically.

One other way is to get a pagefile.sys emptying utility which clears it on shutdown, but this makes your shutdown time increas from 20 seconds or so up to 5 minutes in my experience.
Reply With Quote
  Top
Old 9th January 2008, 03:07 PM
Joshuashawharvey's Avatar
Community Moderator
 
Join Date: Oct 2007, 1,028 posts.
Location: Stoke-on-Trent, England
Reputation: Joshuashawharvey is on a distinguished road
Yes I meant RAM to hard drive. I make mistakes. I'm not a computer lol. Using a swapfile is slower because it's effectively using your hard drive a RAM store. And as it is, RAM is much much faster than a hard drive, and will therefore be slower, hence why we use RAM anyway. But not as slow as having none at all.

Last edited by Joshuashawharvey; 9th January 2008 at 03:12 PM.
Reply With Quote
  Top
Old 9th January 2008, 03:13 PM
Studio 2's Avatar
TST Member
 
Join Date: Nov 2007, 99 posts.
Location: Portsmouth - Hampshire
Reputation: Studio 2 is on a distinguished road
Quote:
Originally Posted by Joshuashawharvey View Post
I'm not a computer.
I am!...just kidding.

Quote:
Originally Posted by Joshuashawharvey View Post
And as it is, RAM is much much faster than a hard drive, and will therefore be slower, hence why we use RAM anyway. But not as slow as having none at all.
Your pc wouldn't work without RAM. And using a hard disk for data transfer vs RAM....

RAM transfer time >2Gb/s

HD transfer time 2-300Mb/s? No contest!

All in all, buy more RAM and better cpu if you have problems, most decent specced items are cheap enough these days.
Reply With Quote
  Top
Old 9th January 2008, 03:17 PM
Joshuashawharvey's Avatar
Community Moderator
 
Join Date: Oct 2007, 1,028 posts.
Location: Stoke-on-Trent, England
Reputation: Joshuashawharvey is on a distinguished road
Obviously it wouldn't work without RAM, because they are designed that way. But if hard drives became quick enough (but won't happen) RAM would become redundant as the hard drive could be used (If they allowed the design of RAM-less computers). RAM is a gateway from your CPU to your hard drive as the hard drive isn't quick enough, as you showed, to cope with all the data, so the RAM takes care of it.
Quote:
Originally Posted by Studio 2 View Post
All in all, buy more RAM and better cpu if you have problems, most decent specced items are cheap enough these days.
Very true. People seem to get so engrossed in killing resources etc etc to speed up their computer they forget what really makes it quick.

A hard drive @ 300mb/s, I'd love to have one of them lol. Hard drives usually work at about 60mb/s, and two Raptor X's in RAID 0 would probably reach 100mb/s on a good day

Last edited by Joshuashawharvey; 9th January 2008 at 03:28 PM.
Reply With Quote
  Top
Old 9th January 2008, 03:24 PM
Studio 2's Avatar
TST Member
 
Join Date: Nov 2007, 99 posts.
Location: Portsmouth - Hampshire
Reputation: Studio 2 is on a distinguished road
Depending on the system you have, PC3200 400MHz 1Gb of RAM is less than £32 - bargain.

Ram is used an anything that uses a processor - it just a temp area to store data that needs processing.
Reply With Quote
  Top
Old 9th January 2008, 03:27 PM
Joshuashawharvey's Avatar
Community Moderator
 
Join Date: Oct 2007, 1,028 posts.
Location: Stoke-on-Trent, England
Reputation: Joshuashawharvey is on a distinguished road
Yup, exactly. So if the HDD was quick enough, that could store it.

Though a hard drive won't be reaching 300mb/s any time soon lol

My ram reads at about 7-8 Gb/s and yes depends on what you have
Reply With Quote
  Top
Old 9th January 2008, 03:33 PM
Daveskater's Avatar
Community Moderator
 
Join Date: Dec 2007, 4,345 posts.
Location: Oxford, UK
Reputation: Daveskater will become famous soon enoughDaveskater will become famous soon enough
Quote:
Originally Posted by Studio 2 View Post
38? That's a lot. About 20 should do.
If you think 38 is a lot, I currently have 61 processes running

My PC runs pretty smoothly, though, so I don't really mind.

Quote:
Originally Posted by Joshuashawharvey View Post
People seem to get so engrossed in killing resources etc etc to speed up their computer they forget what really makes it quick.
True. One of my friends thinks that by deleting files and programs he doesn't use will speed his PC up. What he doesn't realize is it's slow because he has a 500MHz AMD K6 CPU, 13GB HDD and not much RAM, all of this running Win XP. Plus he has things like Vundo and all sorts.
__________________
Numberwang!

A little air on the earth.
Reply With Quote
Comment

Only registered members can participate in forum threads. You must register or log in to contribute.


Tutorial Tools

Forum Jump


All times are GMT. The time now is 11:50 PM.