Win 7 64bit unusually high ram usage (7GB at idle)

2

2

I have a brand new machine with 128GB ram and only Win 7 64 bit OS installed along with relevant hardware drivers etc. There is no other software installed. it has a Samsung 850 Pro EVO SSD as the primary Hard Drive and dual GTX980 in SLI. When I start the computer up it is using 7GB ram leaving me with only 121GB available. All my other machines only use about 2-2.5gb ram at idle.

I need this ram for processing large (120GB) datasets using photogrammetry software and not for making other software start faster (for which none are installed)????!!

I checked all the running process in task manager and it does not add up to 7GB. there simply cant be 7GB of software that need to be loaded in RAM. How do I see what's using this ram and more importantly stop it from using the ram?

Added screen shot of rammap - large nonpaged pooled allocation. how do I get rid of this

enter image description here

Poolmon screen capture

Poolmon shows nothing greater than 30MB using nonpool pages. There isn't 5GB of nonpool pages in poolmon. I presume there is no memory leak.

Any other Ideas?

scriffij

Posted 2015-11-06T01:26:18.597

Reputation: 21

If nothing is actively using it, then it is being used for cache to increase performance. This will be released to applications as needed. – Paul – 2015-11-06T01:36:49.270

1Wow, you actually have 128 gigs. what motherboard is it? – RookieTEC9 – 2015-11-06T02:51:17.773

Post some pictures of RAMMap: http://technet.microsoft.com/en-us/sysinternals/ff700229.aspx

– magicandre1981 – 2015-11-06T05:41:53.360

Post some pictures of Task Manager and Resource Monitor. – qasdfdsaq – 2015-11-06T14:29:37.350

Have you sorted it by bytes by pressing B ? if yes, capture a xperf trace, but use this command which includes more memory information: xperf -on BASE+Pool+ReferenceSet -stackwalk PoolAlloc+PoolFree+VirtualAlloc+VirtualFree -buffersize 2048 -MaxFile 2048 -FileMode Circular && timeout -1 && xperf -d C:\trace_pool_alloc.etl – magicandre1981 – 2015-11-07T08:36:44.523

Paul Nov: the mechanism you describe does happen but it does not show up as nonpaged pool. Neither the reactive file cache or the SuperFetch cache use nonpaged pool. – Jamie Hanrahan – 2017-10-13T12:57:05.750

Answers

3

You have a memory leak caused by a driver. Look at the high value of nonpaged kernel memory. In your case this is over 5.6 GB. You can use poolmon to see which driver is causing the high usage.

Install the Windows WDK, run poolmon, sort it via P after pool type so that non paged is on top and via B after bytes to see the tag which uses most memory. Run poolmon by going to the folder where WDK is installed, go to Tools (or C:\Program Files (x86)\Windows Kits\8.1\Tools\x64) and click poolmon.exe.

Now look which pooltag uses most memory as shown here:

enter image description here

Now open a cmd prompt and run the findstr command. To do this, open cmd prompt and type "cd C:\Windows\System32\drivers" to go to the drivers directory, without quotes. Then type findstr /s __ *.*, where __ is the tag that you see in poolmon.

After doing this to see which driver uses this tag:

enter image description here

Now, go to the drivers folder (C:\Windows\System32\drivers) and right-click the driver in question (intmsd.sys in the above image example). Click Properties, go to the details tab to find the Product Name. Look for an update for that product.

If you can't find a driver to the pooltag, look in the pooltag.txt if the tag is used by a Windows driver.

Here you need to capture a grow of the pool usage with xperf. First, you have to install the Windows Performance Toolkit. Next open a cmd prompt (cmd.exe) as admin and run this:

xperf -on BASE+Pool -stackwalk PoolAlloc+PoolFree -buffersize 2048 -MaxFile 1024 -FileMode Circular && timeout -1 && xperf -d C:\trace_pool_alloc.etl

Now open it in WPA.exe, load the debug symbols and look for the tag that you saw in poomon under AIFO (allocated insde freed outside) and expend the stack. From the function names you may have any idea what is going on.

enter image description here

In this example the FILE tag usage comes from a tool called locate32 which scans the HDD to build up its search index.

magicandre1981

Posted 2015-11-06T01:26:18.597

Reputation: 86 560