Windows 7 Forums

Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.


Windows 7: memory "leaks"

09 Dec 2013   #1
matts6887

Windows 7 ultimate 64-bit
 
 
memory "leaks"

Is there any way to fix the memory leaks that windows unfortunately is inheritently known for? Cause i have 16gb ddr3 which should be more than enough to keep the memory usage pretty low; but after several days of use; the memory usage keeps getting higher and higher until i finally reboot the system to refresh everything.


My System SpecsSystem Spec
.
09 Dec 2013   #2
carwiz

Windows 7 Pro-x64
 
 

Windows doesn't create memory leaks. It's the result of poorly written software.

Overview of Memory Leaks

You can force Windows to clear idle memory by creating a desktop shortcut. Right click the desktop, select New then select Shortcut. When the wizard window appears, copy the line from the code below and paste it into the location field of the wizard.

Code:
 
 %windir%\system32\rundll32.exe advapi32.dll,ProcessIdleTasks
Click Next and give it a name like Flush Memory, Clear Idle Memory or similar. Click Next and the shortcut will be placed on the desktop. Before using it, you must give it Administrative Privileges or it won't run and you won't get any notice.

To give the shortcut Administrative Privileges, Right click on the desktop shortcut and select Properties. Click on the Shortcut tab then click on Advanced. Click on the Run as Administrator box to select. OK out of the windows.


Attached Thumbnails
memory "leaks"-clear-memory.jpg  
My System SpecsSystem Spec
09 Dec 2013   #3
carwiz

Windows 7 Pro-x64
 
 

I should mention, before I'm corrected, that this doesn't actually "flush memory" but forces Windows to evaluate idle processes. If a program terminated without releasing memory, Windows treats the process as idle and holds the memory. This will clear the hold if the process isn't running.
My System SpecsSystem Spec
.

09 Dec 2013   #4
matts6887

Windows 7 ultimate 64-bit
 
 

Ok thanks will try this out and see what happens
My System SpecsSystem Spec
09 Dec 2013   #5
LMiller7

Windows 7 Pro 64 bit
 
 

A great deal about the ProcessIdleTasks command can be found on the Internet. Unfortunately most of it is wrong.

Windows has a number of system optimization and maintenance tasks that it normally runs during idle periods of low CPU usage and no user input. This way they won't interfere with user activity. The command forces these tasks to run immediately, regardless of current system activity. This could be of use for benchmarking so you don't have to wait for an idle period. It may also be of use on a laptop where idle period are rare.

I don't know where the idea that the command clears memory or stops idle tasks comes from. Try the command while Task Manager is open to see for yourself what it does. I have done this and found that memory usage was actually higher after running the command.

Windows is more than capable of manging memory by itself without such user intervention.

See this:
What does "Rundll32.exe advapi32.dll,ProcessIdleTasks" do?
My System SpecsSystem Spec
09 Dec 2013   #6
Layback Bear

Windows 7 Pro. 64/SP-1
 
 

Here is a great way to take care of memory and start fresh.
Shut down the computer and Start it again. Takes less tha 60 sec. and you are off and running again.
My System SpecsSystem Spec
Reply

 memory "leaks"




Thread Tools Search this Thread
Search this Thread:

Advanced Search




Similar help and support threads
Thread Forum
Diff.between "available" and "free" physical memory?
When I look into the "Performance" tab of my TaskManager then there are the following values: Total: 4014 Cached: 1299 Available: 2697 Free: 1532 Hmm, What is the difference between available and free space? Shouldn't this be the same?
Performance & Maintenance
Kyboard deos not respond to the keys: "e", "d", "c" and "3"
Example sentence: vrytim I prss ths kys, nothing happns. Now I'm writing with my on-sreen keyboard. I'm clueless when it comes to computer stuff. How do I fix this? Is this a software problem, or a hardware problem?Help is much appreciated!
Hardware & Devices
Changing the "minimize" "maximize" and "close" buttons of a theme
Ok so I'm using a custom visual style made by another user however I don't really like the buttons used that I mentioned above. The creator states it is acceptable to change the theme to however you like as long as you don't redistribute it anywhere. Ok so I opened up the .msstyles file (using...
Customization
BSOD every few hours: mostly "STOP: 0x00000F4", "c00021a" & "c0000135"
Hi everyone! Yesterday my HP laptop (Windows 7) started getting BSOD with various types of errors (mostly "STOP: 0x00000F4", "STOP: 0x0000007A", "c00021a" and one "missing %hs, c0000135"). Most of the time it restarts without any issues and works fine right after the BSOD and then an hour or two...
BSOD Help and Support
Need to add "TASKBARS" (MSese for "Launchpads", "Docks" NOT "Toolbars"
My office just upgraded, and I can no longer use Windows XP. On this system, I was able to add a separate taskbar to facilitate quick access to commonly-browsed folder locations on our vast network, and another one expedited the launching of useful programs and lists. Each task on each taskbar...
General Discussion
"Out of Memory" Error, all apps continually increase memory usage
I have windows 7 64 bit and also running a ssd. Just a few days ago I've started to have an issue where after my computer is running for a couple hours all processes continually increase the amount of memory they are using until I get an out of memory error. Here is a pic of it around 75%. I...
Performance & Maintenance


Our Sites

Site Links

About Us

Find Us

Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd

All times are GMT -5. The time now is 15:09.

Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App