Windows – Nonpaged Pool Leak – NDnd Tag – Windows 8.1 64-bit

memorymemory leakswindows 8.1

I have a huge memory leak with the tag "NDnd", which eventually occupies my whole ram (8GB).

Findstr shows me, that hiberfil.sys, pagefile.sys, swapfile.sys or ndis.sys could be the problem.

I'm pretty sure it is ndis.sys, since the nonpaged pool gets bigger with any kind of network activity.
How do I fix this leak?

I have a Windows 8.1 Pro 64-bit system, if it helps.

Best Answer

You must use xperf to trace what causes the usage. Install the WPT, open a cmd.exe as admin and run this:

xperf -on PROC_THREAD+LOADER+POOL -stackwalk PoolAlloc+PoolFree+PoolAllocSession+PoolFreeSession -BufferSize 1024 -MinBuffers 256 -MaxBuffers 256 -MaxFile 256 -FileMode Circular && timeout -1 && xperf -d pool.etl

capture 30s of the grow. Open the ETL with WPA.exe, add the Pool graphs to the analysis pane.

Put the pooltag column at first place and add the stack column. Now load the symbols inside WPA.exe and expand the stack of the NDnD tag. Now find other 3rd party drivers which use this tag. Look for driver updates

Related Question