Weird mystery RAM leak!

jimdandy

New member
Member
Local time
5:59 AM
Messages
29
My Windows 7 installation has been perfect up until now. However, in the last week or two I've noticed this weird memory leak that I've never encountered before and am at a loss to explain! To be honest the only reason I even noticed this is because I use a program that displays system stats on your desktop (Rainmeter).

Essentially the system will be running fine and then I'll suddenly notice that the RAM use is at about 70%. This is usually when I'm just performing simple tasks: file management, web browsing etc. so nothing that should use anywhere near the 8GB I have installed. I'm used to seeing it hover at about the 12% mark.

Upon opening the Resource Monitor (screenshot below) I'm unable to see where all this memory is going . . the programs I am using do not seem to be causing the problem. Even if I close everything the RAM use will not return to normal and I'm forced to restart the system. I have very little running in the background, no anti-virus or update managers or anything.

Here's a screenshot of the problem in full swing; 6151MB of physical RAM in use and I've no idea where it's going (I've overlaid the Rainmeter stats for reference):





Interestingly, when I started Photoshop to save that screen capture the (overall) RAM usage dropped right back down again! I hadn't experienced this and it seems to defy logic!? I took a screen capture of this also:





To be honest this just confuses me even further! If you look at the overlaid stats for the memory and network there seems to be a correlation there: the network activity seemed to drop when the RAM usage returned to normal. Whether this has anything to do with my problem I'm not sure?

As I said the system has been perfectly stable and I keep it very well maintained :] The only change recently has been that I now access the internet through a wireless network instead of through a 3G modem. I have very little running, no weird services or anything (as far as I know) and my systray is nice and bare:





If you guys have any wisdom/ideas on this problem I'd appreciate the help! It's really got me stumped :]

Cheers!
 

My Computer My Computer

OS
Windows 7 Ultimate x64
CPU
AMD Phenom 9550
Motherboard
Asus
Memory
8GB
Graphics Card(s)
Nvidia Geforce GTS 450
Sound Card
Tascam FW-1804
Monitor(s) Displays
Multiple
Screen Resolution
1920x1080
Hard Drives
Many
PSU
Coolermaster
Case
Antec 4u Rack
Keyboard
Microsoft Wireless
Mouse
Microsoft Wireless
Internet Speed
Fast
I realize that you haven't had an answer yet ( and I am hoping you figured it out at this point and can tell me! ), but let me add, I experienced the EXACT same thing. I was getting Windows Out of Memory errors, even though I had 4gigs installed, an 8gb pagefile and nothing much running.

The part that is frustrating is, the RAM usage doesn't add up, doesn't even come close to adding up. Adding up the RAM usage in Perf Monitor or Task Manager doesn't even come close to the reported usage. Wherever the memory is going, Windows itself has completely lost track of it. The only way to get memory back has been to reboot the machine, which is annoying.

In looking into it further, I simply gave up and reformated the machine ( it was an old install at this point, so a re-install was well overdue ). Even more confusing, after re-installing, the problem came right back again.

I noticed something the other day though, I disabled Steam from running on start and left my machine running ( no game playing, just the Steam client ) and within a day or two, memory was filling up again. I removed steam from running and let the machine run for two days and absolutely no activity, physical RAM usage stayed steady at 1.25GB. However, I loaded up Thunderbird, and within a couple hours, about 1/2 a GB of RAM was unaccounted for. I closed down all applications and RAM pegged around 1.75GB at this point.

This machine worked fine until about a month ago. At this point, I am thinking it is networking ( either the driver, or networking stack ) that is causing memory to leak. I have Windows Update on automatic, and I am concluding at this point that it was an update released in the last month or so.

For reference, I am running a Dell Studio 17 ( 1747 ), which is a laptop with an i7 processor and Radeon HD4650 graphics card. I am running Windows 7 Ultimate 64bit.

I would be curious to hear what machine you are using, so I can compare devices, it may be possible we have a common component, which is the source of a bad driver or update.
 

My Computer My Computer

OS
Windows 7 Ultimate
RAMMap

Give that tool a try.
 

My Computer My Computer

Computer type
PC/Desktop
OS
Microsoft Windows 10 Professional / Windows 7 Professional
CPU
Intel i5-3570
Motherboard
Lenovo Mahobay
Memory
16GB DDR3
Graphics Card(s)
AMD Radeon HD 7850 2GB
Sound Card
(1) Realtek HD Audio (2) AMD HD Audio
Monitor(s) Displays
LG LS192WS
Screen Resolution
1440 x 900 @ 32bit color
Hard Drives
(1) SUV300S37A/120G (2) ST3500413AS SATA Disk Device AHCI mode enabled.
PSU
Corsair HX620
Case
Thermaltake V4 Black Edition
Cooling
Cooler Master Hyper 212 + Artic Silver 5 on CPU/GPU
Keyboard
Dell SK-8115
Mouse
Razer Copperhead with MAPED mat (awesome!)
Internet Speed
100 Mbps up/down
Browser
Chrome
seraph,
Welcome to SevenForums.

You can run RESMON.EXE ( a part of Win 7 ) and click on the memory tab.

Keep an eye on memory usage. If you truly have a memory leak, then one of them is going to climb steadily.
 

My Computer My Computer

Computer Manufacturer/Model Number
Toshiba Satellite S875D-S7239 laptop
OS
MS Windows 7 Ultimate SP1 64-bit
CPU
AMD A10-4600M
Motherboard
AMD Pumori (Socket FT1)
Memory
6.00 GB Dual-Channel DDR3 @ 798MHz (11-11-12-28)
Graphics Card(s)
AMD Radeon HD 7660G
Sound Card
High Definition Audio Device
Monitor(s) Displays
Generic PnP Monitor (1600x900@60Hz)
Screen Resolution
1600x900@60Hz
Hard Drives
SSD 119GB Corsair CSSD-V128GB2 ATA Device
Keyboard
Standard PS/2 Keyboard
Mouse
HP Wireless Optical Mobile Mouse Model FHA-3410
Internet Speed
What the local pub, local coffee shop offers.
Other Info
Optical Drive:MATSHITA BD-CMB UJ160B ATA Device


Also have an Asus ha1002xp netbook with Win 7 Ultimate installed.
RAMMap

Give that tool a try.

I ran RAMMap and to be honest the results are a bit confusing. It is showing chrome.dll as active ( and consuming 40mb ) even though Chrome is not running and their is no Chome.exe process active. Even more perplexing, it is showing a number of EXEs on my system, that are not running and havent been since I rebooted the machine, as showing up in Mapped files. I am not currently running SuperFetch, so that isn't the issue. I assume I simply don't know how to read the results correctly.

Take the following for example:
g.ashx


Those are the top mapped files by total size, and not one of those applications is running, nor has it run since I booted this computer.


seraph,
Welcome to SevenForums.

You can run RESMON.EXE ( a part of Win 7 ) and click on the memory tab.

Keep an eye on memory usage. If you truly have a memory leak, then one of them is going to climb steadily.

Hi Karlsnooks, thanks for the welcome!

I have done exactly this, this is part of what the gotcha is, neither RESMon or TaskManager show the right RAM usage. Physical memory used will just steadily climb until it hits 100%, but if I add up the actual memory usage ( by summing virtual working set ), it doesn't even come close to the 4 GBs of physical RAM in the computer, nor even the 2GB address space available to 32bit applications.

Whatever is chewing up physical memory isn't being monitored by taskmanager, Resmon, process explorer or any other task manager type application I have run. However, it will eventually rise to 100% used physical memory and BLAMMO, death, even though resmon shows only minimal memory usage.

Eventually this happens:
g.ashx


A short while later, once physical memory is exhausted, really really really bad things happen.

Since I took the above screenshot, I have completely reinstalled, ran all the various windows updates then it started happening again.

I have managed to deduce, if I stay away from certain applications ( steam & thunderbird ), things work flawlessly. I run applications, memory usage goes up, I exit them, memory usage goes back to normal. I managed to run for days like this and once I exited all applications, physical memory usage stayed constant around 1.25GB.

However, if I for example, run Steam, even though in process viewer, only a few hundred MB are shown allocated, Physical Memory continues to rise over time, until in runs out and I get an OOM error again.

This leads me to believe their is a memory leak inside the network stack at some point, this would explain why Task Manager/Process Explorer isn't showing it, but to be honest at this point I am just guessing.

Like the original poster, it just started happening within the last month, during which time I installed no new drivers nor many intrusive applications, leading me to believe it might be a windows update. Unfortunately in that time frame, SP1 was released, so narrowing it down might be impossible. :(
 

My Computer My Computer

OS
Windows 7 Ultimate

My Computer My Computer

Computer Manufacturer/Model Number
Toshiba Satellite S875D-S7239 laptop
OS
MS Windows 7 Ultimate SP1 64-bit
CPU
AMD A10-4600M
Motherboard
AMD Pumori (Socket FT1)
Memory
6.00 GB Dual-Channel DDR3 @ 798MHz (11-11-12-28)
Graphics Card(s)
AMD Radeon HD 7660G
Sound Card
High Definition Audio Device
Monitor(s) Displays
Generic PnP Monitor (1600x900@60Hz)
Screen Resolution
1600x900@60Hz
Hard Drives
SSD 119GB Corsair CSSD-V128GB2 ATA Device
Keyboard
Standard PS/2 Keyboard
Mouse
HP Wireless Optical Mobile Mouse Model FHA-3410
Internet Speed
What the local pub, local coffee shop offers.
Other Info
Optical Drive:MATSHITA BD-CMB UJ160B ATA Device


Also have an Asus ha1002xp netbook with Win 7 Ultimate installed.
seraph,
so you have located the program with the memory leak.

You might want to contact the author thereof or site for the program and see if the program is compatible with your version of Wiindows.

Also whether others have reported problems.

This link will let you know if they submitted the program to MS for testing and the program was judged compatible.
Windows 7 Compatibility: Software Programs & Hardware Devices: Find Updates, Drivers, & Downloads

No, sadly I have not.

I have isolated the memory leak cause to certain applications ( such as the Steam.exe client running ), but as Steam is run on 30 million computers, I assume it is the catalyst, not the actual problem.

What I am *assuming* or probably more accurately *guessing* is that it is the network stack that is causing the leak, but I have in no way identified which piece.

The fact that the missing memory is not being reported in any processes, leads me to believe that it is in the sub-process level. In other words, in the OS or device driver level, which the various process monitors dont track.
 

My Computer My Computer

OS
Windows 7 Ultimate
And are your problematic programs in the Microsoft list of compatible programs.

I also recommend running MalwareBytes over your computer. Link in my sig.
 

My Computer My Computer

Computer Manufacturer/Model Number
Toshiba Satellite S875D-S7239 laptop
OS
MS Windows 7 Ultimate SP1 64-bit
CPU
AMD A10-4600M
Motherboard
AMD Pumori (Socket FT1)
Memory
6.00 GB Dual-Channel DDR3 @ 798MHz (11-11-12-28)
Graphics Card(s)
AMD Radeon HD 7660G
Sound Card
High Definition Audio Device
Monitor(s) Displays
Generic PnP Monitor (1600x900@60Hz)
Screen Resolution
1600x900@60Hz
Hard Drives
SSD 119GB Corsair CSSD-V128GB2 ATA Device
Keyboard
Standard PS/2 Keyboard
Mouse
HP Wireless Optical Mobile Mouse Model FHA-3410
Internet Speed
What the local pub, local coffee shop offers.
Other Info
Optical Drive:MATSHITA BD-CMB UJ160B ATA Device


Also have an Asus ha1002xp netbook with Win 7 Ultimate installed.
And are your problematic programs in the Microsoft list of compatible programs.

I also recommend running MalwareBytes over your computer. Link in my sig.

Nope, apps are all kosher. Frankly there is a very minimal of applications installed right now as I literally just did a re-install. Same goes for the presence of Malware, I just literally re-installed and am running MS anti-malware.
 

My Computer My Computer

OS
Windows 7 Ultimate
1. Stream was not listed.
2. If by Thunderbird you mean Mozilla Thunderbird, then be sure to update.
3. What do you mean by MS anti-malware?
 

My Computer My Computer

Computer Manufacturer/Model Number
Toshiba Satellite S875D-S7239 laptop
OS
MS Windows 7 Ultimate SP1 64-bit
CPU
AMD A10-4600M
Motherboard
AMD Pumori (Socket FT1)
Memory
6.00 GB Dual-Channel DDR3 @ 798MHz (11-11-12-28)
Graphics Card(s)
AMD Radeon HD 7660G
Sound Card
High Definition Audio Device
Monitor(s) Displays
Generic PnP Monitor (1600x900@60Hz)
Screen Resolution
1600x900@60Hz
Hard Drives
SSD 119GB Corsair CSSD-V128GB2 ATA Device
Keyboard
Standard PS/2 Keyboard
Mouse
HP Wireless Optical Mobile Mouse Model FHA-3410
Internet Speed
What the local pub, local coffee shop offers.
Other Info
Optical Drive:MATSHITA BD-CMB UJ160B ATA Device


Also have an Asus ha1002xp netbook with Win 7 Ultimate installed.
My Windows 7 installation has been perfect up until now. However, in the last week or two I've noticed this weird memory leak that I've never encountered before and am at a loss to explain! To be honest the only reason I even noticed this is because I use a program that displays system stats on your desktop (Rainmeter).

Essentially the system will be running fine and then I'll suddenly notice that the RAM use is at about 70%. This is usually when I'm just performing simple tasks: file management, web browsing etc. so nothing that should use anywhere near the 8GB I have installed. I'm used to seeing it hover at about the 12% mark.

Upon opening the Resource Monitor (screenshot below) I'm unable to see where all this memory is going . . the programs I am using do not seem to be causing the problem. Even if I close everything the RAM use will not return to normal and I'm forced to restart the system. I have very little running in the background, no anti-virus or update managers or anything.

Here's a screenshot of the problem in full swing; 6151MB of physical RAM in use and I've no idea where it's going (I've overlaid the Rainmeter stats for reference):





Interestingly, when I started Photoshop to save that screen capture the (overall) RAM usage dropped right back down again! I hadn't experienced this and it seems to defy logic!? I took a screen capture of this also:





To be honest this just confuses me even further! If you look at the overlaid stats for the memory and network there seems to be a correlation there: the network activity seemed to drop when the RAM usage returned to normal. Whether this has anything to do with my problem I'm not sure?

As I said the system has been perfectly stable and I keep it very well maintained :] The only change recently has been that I now access the internet through a wireless network instead of through a 3G modem. I have very little running, no weird services or anything (as far as I know) and my systray is nice and bare:





If you guys have any wisdom/ideas on this problem I'd appreciate the help! It's really got me stumped :]

Cheers!


you mean besides the 0.5 Gigs that firefox alone is leaking.
 

My Computer My Computer

Computer Manufacturer/Model Number
HP Pavillion dv-7 1005 Tx
OS
Win 8 Release candidate 8400
CPU
[email protected]
Memory
4 gigs
Graphics Card(s)
Nvidia 9600M
Sound Card
HD built-in
Monitor(s) Displays
17" Wxga
Screen Resolution
1440x900
Cooling
none
Internet Speed
45Mb down 5Mb up
1. Stream was not listed.
2. If by Thunderbird you mean Mozilla Thunderbird, then be sure to update.
3. What do you mean by MS anti-malware?

Steam, not Stream, and it's listed. Steam is pretty much ubiquitous, so I highly doubt it as a suspect.

2. Yep, thats the one, and it's at the most current release ( which, for the record, kinda sucks ).

3. Windows Security Essentials. It has also been ruled out as a suspect ( uninstalled and the problem persists ).
 

My Computer My Computer

OS
Windows 7 Ultimate
you mean besides the 0.5 Gigs that firefox alone is leaking.


Actually, thats pretty much normal with a couple tabs open. FF runs all tabs in a single process. Frankly IE9 and Chrome use similar ( though slightly less ) memory as Firefox. Used memory, even a high amount does not equal a leak.
 

My Computer My Computer

OS
Windows 7 Ultimate

My Computer My Computer

Computer Manufacturer/Model Number
Toshiba Satellite S875D-S7239 laptop
OS
MS Windows 7 Ultimate SP1 64-bit
CPU
AMD A10-4600M
Motherboard
AMD Pumori (Socket FT1)
Memory
6.00 GB Dual-Channel DDR3 @ 798MHz (11-11-12-28)
Graphics Card(s)
AMD Radeon HD 7660G
Sound Card
High Definition Audio Device
Monitor(s) Displays
Generic PnP Monitor (1600x900@60Hz)
Screen Resolution
1600x900@60Hz
Hard Drives
SSD 119GB Corsair CSSD-V128GB2 ATA Device
Keyboard
Standard PS/2 Keyboard
Mouse
HP Wireless Optical Mobile Mouse Model FHA-3410
Internet Speed
What the local pub, local coffee shop offers.
Other Info
Optical Drive:MATSHITA BD-CMB UJ160B ATA Device


Also have an Asus ha1002xp netbook with Win 7 Ultimate installed.
OK, may have a bit of a clue. As I thought it was a network related issue ( and thus caused by Steam or Thunderbird ), I just noticed the following... my network card is Page Faulting like mad, obscenely high. Sadly, I don't know what it means, but it is pointing at a likely suspect for my memory leak.

g.ashx
 

My Computer My Computer

OS
Windows 7 Ultimate
Heya Serapth!

Well, I don't have an answer as the problem seems to have stopped occurring, but I may have some clues!?

I haven't experienced the problem in weeks and as before I have made absolutely no change to that system. The only thing I have done in that time is slightly improve my wireless reception . .

I don't run Steam and never have on that system, which may give weight to your idea that Steam is acting as a catalyst but isn't the root of the problem. (My system specs are filled in if you wanna compare them)

The fact that the memory use wasn't being reported by Windows lead me to suspect that Windows itself might be behind it. I started to think that I might be seeing the behaviour of Superfetch, especially once I saw the RAM use drop down when I ran Photoshop . . the fact that you're not running Superfetch leads me to believe otherwise.

I haven't installed Service Pack 1, in fact I haven't installed any windows updates since well before this problem was noticed . . which points away from a recent update being the culprit.

I started suspected it had something to do with networking as I had only recently started using wireless networking on that system . . and also because of the apparent correlation between network activity and memory use in the second image I posted in my original post.

I'm curious as to whether there's any sort of malware attack/intrusion that's known to cause high RAM usage . . . I'm extremely vigilant with preventing that stuff but who knows?
 

My Computer My Computer

OS
Windows 7 Ultimate x64
CPU
AMD Phenom 9550
Motherboard
Asus
Memory
8GB
Graphics Card(s)
Nvidia Geforce GTS 450
Sound Card
Tascam FW-1804
Monitor(s) Displays
Multiple
Screen Resolution
1920x1080
Hard Drives
Many
PSU
Coolermaster
Case
Antec 4u Rack
Keyboard
Microsoft Wireless
Mouse
Microsoft Wireless
Internet Speed
Fast
you mean besides the 0.5 Gigs that firefox alone is leaking.

Hehe . . actually I would have had at least 100 tabs open so that's not too bad for the old fox :]

I have 255 tabs open at the moment and firefox 6.0a2 is at about 800MB . . pretty reasonable! I imagine a lot of them are unloaded from RAM by now :]


fftabs2.png
 

My Computer My Computer

OS
Windows 7 Ultimate x64
CPU
AMD Phenom 9550
Motherboard
Asus
Memory
8GB
Graphics Card(s)
Nvidia Geforce GTS 450
Sound Card
Tascam FW-1804
Monitor(s) Displays
Multiple
Screen Resolution
1920x1080
Hard Drives
Many
PSU
Coolermaster
Case
Antec 4u Rack
Keyboard
Microsoft Wireless
Mouse
Microsoft Wireless
Internet Speed
Fast
Heya Serapth!

Well, I don't have an answer as the problem seems to have stopped occurring, but I may have some clues!?

I haven't experienced the problem in weeks and as before I have made absolutely no change to that system. The only thing I have done in that time is slightly improve my wireless reception . .

I don't run Steam and never have on that system, which may give weight to your idea that Steam is acting as a catalyst but isn't the root of the problem. (My system specs are filled in if you wanna compare them)

The fact that the memory use wasn't being reported by Windows lead me to suspect that Windows itself might be behind it. I started to think that I might be seeing the behaviour of Superfetch, especially once I saw the RAM use drop down when I ran Photoshop . . the fact that you're not running Superfetch leads me to believe otherwise.

I haven't installed Service Pack 1, in fact I haven't installed any windows updates since well before this problem was noticed . . which points away from a recent update being the culprit.

I started suspected it had something to do with networking as I had only recently started using wireless networking on that system . . and also because of the apparent correlation between network activity and memory use in the second image I posted in my original post.

I'm curious as to whether there's any sort of malware attack/intrusion that's known to cause high RAM usage . . . I'm extremely vigilant with preventing that stuff but who knows?

Actually I solved my problem. It was BCMWLTRY.exe, which is the Broadcom Wireless networking tray app, and something is seriously wrong with it. It was leaking memory with any network activity. Disabling/removing this app is a right pain in the butt, in the end I simply renamed the EXE so it wouldn't run.

If your problem comes back, in task manager -> processes, enable Page Faults and Page Fault Delta, like in the picture above. If the delta is really high and sustained, that is probably your problem.
 

My Computer My Computer

OS
Windows 7 Ultimate
Back
Top