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: Ridiculous Modified Memory usage

14 Sep 2014   #1
Evrip

Windows 7 64bit
 
 
Ridiculous Modified Memory usage

Hi,

I've noticed lately that the Modified Memory is getting extremely high over a period of time. I can't really tell when this happens since my pc is running for days if a restart is not needed so it's hard to tell what's causing it.

I have this issue for a while now and I made a little research in the past which left me confused on whether the modified memory is reusable or not. Many people said that it is reusable and Windows will utilize it when the RAM is almost full. The problem here is that I'm running 32GB of RAM so it's a little hard to get to a point where windows are starving of RAM... until today where I received the Out of Memory pop-up window, telling me to shut down programs!

I reconfigured the paging file in the past, adding 2000MB (initial) to 8000MB (maximum) paging file for C:\ but it looks like it didn't solve the problem. Maybe that's not enough? I don't want to allocate a huge amount of my C:\ to paging file because it's an 128GB SSD and every GB is valuable. For the same reason I had to disable the Hybernation mode in windows because it was reserving 32GB of the SSD in order to fit all my RAM.

The rest of my HDDs do not have a paging file which I'm not sure if it's good or not.

Does anyone have any idea how to narrow this down?

Thank you in advance!




Attached Thumbnails
Ridiculous Modified Memory usage-modifiedmem.jpg  
My System SpecsSystem Spec
.
14 Sep 2014   #2
Callender

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

Well I'm not great at solving issues like yours but I suggest downloading:

RAMMap

Right click the executable and choose "Run as administrator"

It might provide some clues:

Ridiculous Modified Memory usage-rammap-1.jpg

Ridiculous Modified Memory usage-rammap-2.jpg

It's probably best to set your page file to "system managed" size unless you've swapped it to another drive.


My System SpecsSystem Spec
14 Sep 2014   #3
LMiller7

Windows 7 Pro 64 bit
 
 

There isn't enough information available to diagnose the problem. A screenshot as Callender has suggested would help.

Memory usage of chrome is high but not nearly high enough to explain the situation. Such problems are often caused by driver issues but as the paged and non-paged memory is low that seems unlikely.

"Modified" refers to process private use memory that has been trimmed from the working set of the process. This is complex and I will not explain it further. Normally this would be written to the pagefile and converted to standby memory but with such a small pagefile that cannot happen. A larger pagefile would mask the symptoms but wouldn't solve the real problem.

But that isn't the real problem, merely a symptom. The real problem is why this and the commit charge has become so high.
My System SpecsSystem Spec
.

14 Sep 2014   #4
Evrip

Windows 7 64bit
 
 

Thank you guys for your replies!

I had to reboot my pc due to updates installation and tweaking settings so the modified memory is gone for now. Sadly, that's before I see the post from Callender so no RamMap feedback for now.

I will keep the Resource Monitor and the RamMap open in my secondary monitor so i can constantly keep an eye on what's going on. As I said in my first post, it seems like it takes several days until I notice this issue. I can't tell if it's something that's build up over time (like 100MB modified mem per hour) or it becomes huge instantly by a specific program or action.

I am not sure what screenshot you mean. If you're talking about a RamMap screenshot, I will provide one as soon as I get a big modified mem again. If you mean something else, please let me know and I'll provide everything!
My System SpecsSystem Spec
16 Sep 2014   #5
Callender

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

I've noticed something strange. After clearing event logs modified memory usage drops significantly:

Ridiculous Modified Memory usage-rammap-3.jpg

After a reboot it will return to normal usage. To my mind that indicates that modified memory usage might depend on event logging. On the other hand I could be completely wrong!


My System SpecsSystem Spec
17 Sep 2014   #6
Evrip

Windows 7 64bit
 
 

This observation is intriguing! I was using Event Viewer too when the modified memory issue occurred! i left Event Viewer open before I leave for work and I will check again once I get back to see if the modified memory increased!
My System SpecsSystem Spec
17 Sep 2014   #7
Callender

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

Quote   Quote: Originally Posted by Evrip View Post
This observation is intriguing! I was using Event Viewer too when the modified memory issue occurred! i left Event Viewer open before I leave for work and I will check again once I get back to see if the modified memory increased!
Well I cleared Event Logs using the tutorial here:

Event Viewer One Click Clear

Or more specifically used the file linked here:

Event Viewer One Click Clear - Post #79

Note: If you need your current logs for diagnostic purposes don't clear them! I'm just wondering if clearing logs will see a drop in modified memory usage on your machine?
My System SpecsSystem Spec
17 Sep 2014   #8
LMiller7

Windows 7 Pro 64 bit
 
 

Modified memory is pagefile backed memory that has been trimmed from the working set of a process or other entity. There are only 2 way that modified memory can be reduced.

1. The entity from which the memory was trimmed terminates or it frees the address space from which it came. This is complex and difficult to describe in simple terms. Clearing the Event Log might do this in isolated cases. In this case that seems highly unlikely.

2. The modified memory is written to the pagefile and then moved to the standby list. The memory manager normally does this but in this case the pagefile is too small for that to be possible. A larger pagefile would eliminate the symptom (at least in the short term) but it wouldn't solve the real problem.

The question is: from what entity was the memory trimmed? Nothing in the Task Manager screenshot accounts for this. RAMMap should. I can't promise I will be able to interpret the results.
My System SpecsSystem Spec
19 Sep 2014   #9
Evrip

Windows 7 64bit
 
 

Ok, my Modified Memory has reached ~10GB so I attached a few screenshot for you guys to see the current stats.

I was expecting RamMap to indicate a specific program that's consuming all that memory but instead, it shows almost all of Modified Memory as "Shareable".

I am pretty sure Event Viewer has something to do with this as the Modified Memory tripled since i opened it, but I can't find a direct relation.

I certainly can delete my log files to see if the Modified Memory will decrease but before I do that, is there anything you guys want me to check? As you can see, it took several days to reach this point and if i delete the log files (and actually do the trick), we will need another week or so to get a big Modified Memory again. So if you know any other monitoring tricks (like RamMap), let me know so I can check now!


Attached Thumbnails
Ridiculous Modified Memory usage-modifiedmem4_1.jpg   Ridiculous Modified Memory usage-modifiedmem4_2.jpg  
My System SpecsSystem Spec
23 Jan 2016   #10
Bonez0r

Windows 7 Professional 64bit
 
 

I'm sorry, i realize this thread is over a year old, but i think i have found a good solution. I stumbled upon this thread because i had exactly the same problem as Evrip. I did not find a working solution here so i continued searching. Then i came across another thread here: https://social.technet.microsoft.com...um=w7itproperf

Someone in that thread suggested the following:
Quote:
I believe I isolated it to this by adding the Handles column to Task Manager and watching it leak them like crazy, which eventually leads to paged (or non-paged, I forget which) memory spiking and ultimately "low memory" warnings.
I followed the instruction and there was one process that had 90k handles (the next highest was 5k). In my case it was some yahoo toolbar, but other people in that thread report all kinds of processes that caused the same problem for them, but what they have in common is they all found and solved the problem thanks to this one simple suggestion. Once i had found the guilty process, i stopped the service and the total memory usage dropped from 9GB to 5GB instantly. Even after that, the usage still continued to fall slowly, giving me another 0.5GB. I'm so happy i finally found the solution after having this problem for more than a year.

By the way, one other suggestion in said thread was to not only add the handles column, but also the GDI objects column. It might point to the problem as well, but in my case i saw the problem as soon as i looked at handles.
My System SpecsSystem Spec
Reply

 Ridiculous Modified Memory usage




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
Update last modified time of shortcut when original file is modified?
Assume I have a (log)file and (in another directory) a shortcut which points to this file. Each original file and its shortcut have their own last modified timestamp (as shown in WinExplorer column). Unfortunately when the original file is modified the timestamp of the depending shortcut...
General Discussion
Have high CPU usage and Memory usage
Hi. I was using my laptop a few days ago. I left to go out and came back about an hour later. I notice my CPU usage was running @ 100% & the memory @ 80%.My laptop just stopped. I went into safe mode and that is where I am currently . I have deleted almost everything I don't use(didn't...
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
increased memory usage with added memory - why?
I just built a new computer and started with 8GB of memory. A few weeks down the line I purchased another set of the same memory because it was on such a good deal and had great reviews (newegg). It also was working well for me, so I figured maybe more could be better. I haven't noticed any...
Performance & Maintenance
Windows 7 random CPU usage and high physical memory usage!!!
Ok, I am literally KILLING myself over this! I installed Windows 7 64Bit over XP around a month ago and it was so good that I recommended it to my brother who was previously on XP too. We got him a copy of the 32bit version as he has only 2gb of memory, and he installed it on his machine....
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 21:22.

Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App