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: I Have a Memory Leak.

09 Jul 2015   #11
Callender

Microsoft Windows 7 Home Premium 64-bit 7601 Multiprocessor Free Service Pack 1
 
 

RAMMap: If you sort the columns so that the highest numbers are at the top it might provide a clue. Same with the processes tab.

Re: A few percent increase in RAM usage - As far as I know once you start an application windows caches some of those files in RAM for a faster program launch next time around. Against all advice from experienced members I tend to use software that clears RAM cache at intervals and automatically and intelligently smart trims working sets. Aslo the RAM file cache can be cleared manually on demand. However my system is not standard as I use a RAMdisk so clearing the cache doesn't hinder performance.


My System SpecsSystem Spec
.
09 Jul 2015   #12
Lady Fitzgerald

Win 7 Ultimate 64 bit
 
 

Ok. I finished my scans and backups about an hour ago. My RAM usage went up briefly to 24% (not surprising), dropped to 22% after I finished and has been bouncing between 23% and 24% since then (that is a little surprising since the scans are long over). It's at 24% right now. My daily scans do give the system a bit of a work out (even more so on the weekly full scans).

I've tried sorting the columns in RAMMap but they aren't really telling me anything other than I have or have had a little of a lot going on. WMP is recording a show right now but I didn't see anything about it in RAMMap. Curiously (but not surprisingly), RAMMap is a bit of a RAM hog; usage jumps 5% while it's running but drops back down when I shut it off.

I'm going to do some reading for a while, then roll over and go to sleep. I have a bunch of errands to run tomorrow (or, in my case, waddle...heck, I'll just drive) and I don't like to drive with toothpicks holding my eyes open (they kinda hurt).
My System SpecsSystem Spec
10 Jul 2015   #13
Lady Fitzgerald

Win 7 Ultimate 64 bit
 
 

I'm officially P.O.ed. I got up a little later than I planned on (a little after 4 AM) after a rough night and my miserable, misbegotten, magnificently malevolent mess of a computer had jumped up to 45%.



It makes me want to start drinking. I made a bazillion screen shots from RAMMap and the Task Manager but I have a busy day ahead of me so I rebooted, then made an image. Last night, while I was having problems sleeping (from time to time my ADHD goes into overtime and my mind races with defective brakes), I read some of the related threads linked below and learned of a program called Cleanmem (more info here) that uses a native Windows process to clear out excess RAM usage, such as from a memory leak (I'm not going to pretend to understand it). So I downloaded it and installed it this morning after I made the image (far more effective than a Restore Point). I left it at the default settings for now and I'm going to hit the shower (poor shower) in a bit. I'm just going to let it run today to see if slows or eliminates the effects of the memory leak (I understand it won't cure it).
My System SpecsSystem Spec
.

10 Jul 2015   #14
Callender

Microsoft Windows 7 Home Premium 64-bit 7601 Multiprocessor Free Service Pack 1
 
 

Okay well a few percent difference isn't much to worry about I guess. However if you run RAMmap and nothing obvious shows up try looking at the "File Summary" tab and sort by "Active" which shows you which files are actively using RAM.

Nearly every experienced member here will tell you not to worry about RAM usage. Personally I'd say that unless performance is affected there's nothing to worry about. However I do make use of the following programs. Note: Just my personal preference. You can test if you like.

About CleanMem free version. You will see lots of arguments about what is written here. If you want RAM usage to stay level give it a try. If you don't find it useful just stop the process using task manager and manually delete the scheduled tasks. No harm done.

Download CleanMem - MajorGeeks

Setting it up:

It's portable. Open the folder and click the executable Mini_Monitor.exe and you should see a notification area icon and a small desktop gadget. You can move the gadget (monitor) or hide it.

Right click the system tray icon to get options.

Run settings wizard.

I Have a Memory Leak.-cleanmem-settings-wizard-1.jpg

I Have a Memory Leak.-cleanmem-settings-wizard-2.jpg

I Have a Memory Leak.-cleanmem-settings-wizard-3.jpg

I Have a Memory Leak.-cleanmem-settings-wizard-4.jpg

I Have a Memory Leak.-cleanmem-settings-wizard-5.jpg

I Have a Memory Leak.-cleanmem-settings-wizard-6.jpg

Edit the two scheduled tasks manually via task scheduler.

Run more often than every 15 minutes if you like. Mine is set to run every 5 minutes.
I Have a Memory Leak.-scheduled-task.jpg


My System SpecsSystem Spec
10 Jul 2015   #15
Callender

Microsoft Windows 7 Home Premium 64-bit 7601 Multiprocessor Free Service Pack 1
 
 

I said progam(s) but actually only mentioned one of them! Let us know if you try it and if so - how you get on with it.

The other program that I didn't mention yet takes a little more configuration.
My System SpecsSystem Spec
10 Jul 2015   #16
LMiller7

Windows 7 Pro 64 bit
 
 

The only issue I see in the screenshot is the very large value for NonPaged pool, but that is a big one. The value of 3195 MB is not even remotely reasonable. It is unlikely this is caused by an application. Applications do not and cannot use either of the kernel pools directly but the OS can use it on behalf of an application. But even 1 MB would be very high for a single process usage. Most likely cause is a device driver. Sorry but I cannot help with that.

The bad thing about a high Nonpaged pool usage is that it is not pageable. Virtually all application RAM usage is pageable and most OS usage as well. But the NonPaged pool must remain in RAM at all times, even in the case of the most extreme memory pressure.

I have little good to say about CleanMem and similar utilities. I won't talk about them at this time. Except to say that they can do little about high NonPaged pool usage. Some of the NonPaged pool is used for management of other memory usage so if other usage drops it will as well, but not by much.

Personally I would do something about such high NonPaged pool usage, not cover it up with some third party utility.
My System SpecsSystem Spec
10 Jul 2015   #17
Lady Fitzgerald

Win 7 Ultimate 64 bit
 
 

Actually, in my post just before yours, I mentioned I had learned about CleanMem and had installed it; I just haven't fooled with the settings with it yet. The memory leak has been pretty bad. I've seen it jump from 30% to 89% in less than 24 hours, which froze the computer; slower jumps to highg RAM usage would also foul things up. I used to be able to go a week or more and it wouldn't go and stay much higher than 20% unless I had a program (or programs) using a lot of RAM, such as a photo editor and I'm editing a few dozen photos; I've seen it go as high as 50% but, once I finished and saved the photos, it would drop back down. Now, it still creeps up after a reboot but, once it hits 22%, it starts skyrocketing. I don't have an issue with my RAM being used and I know higher amounts of RAM will have more of it cached. It's when it goes up and keeps going up until the computer freezes that I have issues, especially since I have 32GB of RAM to avoid this problem (also, so I would still have plenty if a stick should die; I could manage fine with 24GB of RAM).

I installed Cleanmem this morning around 5 AM immediately after a reboot and making an image with Macrium Reflect. The RAM went from 13% down to 12%, not much but it has stayed at 12% so far (it's now 2 PM). After the previous reboot, before the one I installed Cleanmem after, the Ram usage had gained 2% in 9 hours (and kept going up after that) so today's performance is encouraging.

I have to go right now. In addition to today's chores and errands, I just found out a couple of hours ago there is a massive FUBAR with one of my prescriptions between my idiot (polite term; extremely polite) insurance company, my doctor's office, and the pharmacy which is driving me nuts. Right now, I'm mad enough to chew nails and spit out thumbtacks hard enough to sink them to their heads in oak!
My System SpecsSystem Spec
10 Jul 2015   #18
Lady Fitzgerald

Win 7 Ultimate 64 bit
 
 

Quote   Quote: Originally Posted by LMiller7 View Post
...Personally I would do something about such high NonPaged pool usage, not cover it up with some third party utility.
I would love to do something about but I have no idea how so, until someone can tell me how to find out why it is happening and what to do about it, I may have to settle for covering it up.
My System SpecsSystem Spec
10 Jul 2015   #19
Lady Fitzgerald

Win 7 Ultimate 64 bit
 
 

Quote   Quote: Originally Posted by Callender View Post
Okay well a few percent difference isn't much to worry about I guess. However if you run RAMmap and nothing obvious shows up try looking at the "File Summary" tab and sort by "Active" which shows you which files are actively using RAM.

Nearly every experienced member here will tell you not to worry about RAM usage. Personally I'd say that unless performance is affected there's nothing to worry about. However I do make use of the following programs. Note: Just my personal preference. You can test if you like.

About CleanMem free version. You will see lots of arguments about what is written here. If you want RAM usage to stay level give it a try. If you don't find it useful just stop the process using task manager and manually delete the scheduled tasks. No harm done.

Download CleanMem - MajorGeeks

Setting it up:

It's portable. Open the folder and click the executable Mini_Monitor.exe and you should see a notification area icon and a small desktop gadget. You can move the gadget (monitor) or hide it.

Right click the system tray icon to get options.

Run settings wizard.

Attachment 365446

Attachment 365447

Attachment 365448

Attachment 365449

Attachment 365450

Attachment 365451

Edit the two scheduled tasks manually via task scheduler.

Run more often than every 15 minutes if you like. Mine is set to run every 5 minutes.
Attachment 365452
Ok, I'm in for a little bit before I have to head out again (forget the calendar; I swear today is the 13th) so I've taken some time to go over the settings you have shown.

Step 1 makes sense even to me. I reset to enable.

Step 2, for now, I'm going to leave disabled, same as you. I wonder though if, a later time, I could use that log to help determine what is responsible for the memory leak.

Step 3, for now, I've left on the default—All Processes—until I find out why you put svchost.exe on the ignore list (I have it entered on the second half of Step 3 since I feeling you will give me a good reason to enable the Ignore List). I looked up what svchost.exe is and kinda sorta understand it (I'll admit to not being the brightest crayon in the box). As I understand it, it's the vehicle .ddl files, such as drivers, run on. Larry mentioned that a driver could be the cause of the problem so I'm wondering if I really should Ignore svchost.exe files?

Step 4 threw me for a loop when I tried Install CleanMem Task Schedule until it finally penetrated the jumble of thoughts clogging my brain that it was already installed (that massive FUBAR I mentioned won't get resolved before Monday, if then, and I'm still trying to sort out who dropped what balls to get it fixed and ensure it doesn't happen again). I did fool around in Edit to suss out how to make changes but, for now, I'm leaving it at 15 minutes. That seems to be often enough for my needs (it's been at 12% for 12 hours now, only occasionally going up a percent until the next time CM runs).

Now, it's hurry up and wait to see if it will survive overnight. Btw, Paged Kernel Memory has been fairly steady for the past hour or so at around 1262MB and Nonpaged has been rock solid at 208MB for the past 11 or so hours.
My System SpecsSystem Spec
10 Jul 2015   #20
Callender

Microsoft Windows 7 Home Premium 64-bit 7601 Multiprocessor Free Service Pack 1
 
 

Okay I'm learning something. The nonpaged pool usage shown in task manager may be different to RAMmap.

https://support.microsoft.com/en-gb/kb/2762246

Anyway let's take a look at LMiller7's idea and see if the nonpaged pool tab per process in task manager reveals anything.

I Have a Memory Leak.-taskmanager.jpg


My System SpecsSystem Spec
Reply

 I Have a Memory Leak.




Thread Tools Search this Thread
Search this Thread:

Advanced Search




Similar help and support threads
Thread Forum
chkdsk high memory usage / memory leak
Has anyone else noticed that chkdsk uses all available physical memory (if you let it run long enough)? I find that if I run chkdsk and watch the memory usage in task manager it jumps by about 50MB every 2 seconds or so until it either finishes or hits around 3.2GB at which point my physical...
Performance & Maintenance
General Win7 memory leak and Unknown memory usage?
So I've had this problem for a few months with my thinkpad x220, win7 home premium 64 bit. I used ccleaner, run memtest86 multiple times, chkdsk multiple times, sfc scan multiple times, none that helped. Sfc always detects errors but always cannot fix some of them. I have mse, avast, and...
Performance & Maintenance
Troubleshooting Excessive Memory Use (Memory Leak?) after playing vid.
HI; I am having a problem with my memory getting tied up / used up and not being able to access it again until I reboot. Machine: Dell xps studio 8100 OS: Win 7, Processor: i7 2.8 RAM: 16GB (max it will take) Video: ATI Radeon 5700 (running 3 monitors) Versions: As far as I know I am...
Performance & Maintenance
Memory Leak
I don't have a good start time on this. I noticed it last weekend. I am running Win7 x64, release version from MSDN. If I leave my machine on for 8+ hours, when I log back in it is using 5GB of memory. I have 6GB installed. I have confirmed no spyware or viruses. I checked processes...
Performance & Maintenance
Memory leak?
I have 4GB of memory in my computer and for some reason if I leave My computer on for the day when I get home in the afternoon the memory usage is up at 60-90% and my computer starts getting really Laggy and slow. :( Then I have to turn it off and after a restart its fine for the rest of the day. I...
Performance & Maintenance
[Help]Memory Leak. All memory drained and used
Today, my computer decided for some reason to start hogging all the memory. The memory slowly goes up after around 3:30 minutes of being open. CPU usage is at regular. I have tried many things to fiqure out the problem. Not even safe mode works. Also it's very weird because i have 6gb of...
BSOD Help and Support


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 19:28.

Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App