Question : Need to understand what nonpaging pool tag is having a memory leak...

Here is what I got from Poolmon...  I am not sure which tag would be causing nonpaging issue.


Memory: 8386176K Avail: 5870504K  PageFlts: 16030   InRam Krnl: 2728K P:116128K
 Commit:2709740K Limit:12376388K Peak:3692408K            Pool N:195420K P:118380K
 System pool information
 Tag  Type     Allocs            Frees            Diff   Bytes       Per Alloc

 ASCI Nonp  -1293719226 (120946) -1301530695 (120510)  7811469 125119464 (  6976)     16
 MmSt Paged    428286 (  43)    406167 (  35)    22119 30806144 (   -96)   1392
 WD   Paged      1461 (   0)      1387 (   0)       74 15630336 (     0) 211220
 Ntff Paged    617641 (   0)    602585 (  61)    15056 12285696 (-49776)    816
 MmCm Nonp     167754 (  28)    167583 (  28)      171 9884944 (     0)  57806
 NAI0 Paged      5040 (   0)      5036 (   0)        4 8011776 (     0) 2002944
 NtfF Paged    105184 (   0)     98510 (   0)     6674 6246864 (     0)    936
 R100 Paged        45 (   0)         1 (   0)       44 5458000 (     0) 124045
 File Nonp  1701555573 (56928) 1701526252 (56911)    29321 4499144 (  2584)    153 3
 NAI0 Nonp  -358911224 (271291) -358915501 (271283)     4277 3960144 (  2704)    925
 NDpp Nonp        983 (   0)         0 (   0)      983 3921952 (     0)   3989   940 5
 IoNm Paged 1679869778 (56075) 1679850164 (56066)    19614 3390344 (  1152)    172 2
 FMsl Nonp     424293 (   0)    409509 (  63)    14784 3075072 (-13104)    208
 LSwi Nonp          1 (   0)         0 (   0)        1 2576384 (     0) 2576384
 WD   Nonp      24539 (   0)     23788 (   0)      751 2575184 (     0)   3429
 brcm Nonp     109752 (   8)    109590 (   6)      162 2555904 ( 24576)  15777
 Ntfr Nonp     218742 (   0)    181741 (   0)    37001 2369032 (     0)     64
 Thre Nonp     235689 (   6)    232140 (   2)     3549 2214576 (  2496)    624
 NtFs Paged   5038833 (  65)   5014557 (  66)    24276 1868480 (  -208)     76
 MmCa Nonp    5444801 ( 157)   5428091 ( 150)    16710 1847408 (   688)    110
 Obtb Paged     14757 (   0)     14048 (   0)      709 1640992 (     0)   2314
 TCPt Nonp    3480896 ( 106)   3480866 ( 106)       30 1458080 (     0)  48602
 FSim Paged     91426 (   0)     81303 (   2)    10123 1295744 (  -256)    128
 Mdl  Nonp     663905 (  98)    654940 (   2)     8965 1258904 ( 12368)    140
 bRcm Nonp        169 (   0)       145 (   0)       24 1102704 (     0)  45946   5
 ASCI Paged 946751888 (35441) 946749417 (35443)     2471 1093048 (  -576)    442 7
 CM16 Paged      1832 (   0)      1582 (   0)      250 1077248 (     0)   4308
 NTID Nonp    9192323 ( 280)   9186593 ( 274)     5730 1054456 (  5760)    184
 TPLA Nonp        256 (   0)         0 (   0)      256 1048576 (     0)   4096   2
 Ntfo Paged    173636 (   7)    166978 (   7)     6658 1020640 (     0)    153   3
 MmCi Nonp      36896 (   1)     32441 (   0)     4455 1011168 (   224)    226   6
 MmSm Paged    287004 (   8)    271799 (   7)    15205  973120 (    64)     64   7
 Vad  Nonp    5567063 ( 213)   5547291 ( 186)    19772  949056 (  1296)     48  2
 Toke Paged 816092022 (26965) 816091077 (26964)      945  947352 (   592)   1002 5
 NtFs Nonp    1865775 (  10)   1844012 (  72)    21763  874264 ( -2480)     40   4
 Ntfn Nonp     735823 (   1)    714029 (  64)    21794  872056 ( -2520)     40
 Even Nonp    8760352 ( 408)   8742947 ( 377)    17405  861232 (  1488)     49  3
 CMAl Paged       670 (   0)       460 (   0)      210  860160 (     0)   4096   78
 CM35 Paged        30 (   0)        19 (   0)       11  794624 (     0)  72238  7
 Key  Paged 192183275 (6082) 192175803 (6071)     7472  777040 (  1144)    103
 Ntfc Paged    127002 (   3)    116409 (   2)    10593  762696 (    72)     72  6
 Io   Nonp  343986428 (10546) 343986167 (10551)      261  716216 (-40960)   2744
 CMDa Paged    769995 ( 157)    765459 (  29)     4536  669408 ( 13184)    147
 Wmit Paged        13 (   0)         2 (   0)       11  655688 (     0)  59608
 CM39 Paged     15864 (   0)     13440 (   0)     2424  652224 (     0)    269  7
 CcSc Nonp    3543719 (  59)   3541813 (  55)     1906  609920 (  1280)    320
 Ntf0 Paged   3780177 (  52)   3761325 (  56)    18852  603112 (   -96)     31        16
 CMVa Paged  23537264 ( 433)  23527206 ( 262)    10058  592216 (  9288)     58
 Pool Nonp          5 (   0)         3 (   0)        2  585728 (     0) 292864
 CM17 Paged       479 (   0)       410 (   0)       69  565248 (     0)   8192
 Ica  Nonp   10526037 ( 350)  10524851 ( 336)     1186  504344 (   848)    425
 McFo Nonp      41083 (   7)     38599 (   1)     2484  496800 (  1200)    200
 Vadl Nonp    4258755 ( 148)   4251215 ( 141)     7540  482560 (   448)     64
 Mm   Nonp       1175 (   0)      1100 (   0)       75  481880 (     0)   6425  6
 Irp  Nonp   23481656 (   3)  23480321 (   3)     1335  445096 (     0)    333
 FSfm Nonp      92698 (   0)     82191 (   2)    10507  420280 (   -80)     40
 Port Paged    114098 (  12)    111836 (   0)     2262  419712 (  2208)    185  0
 LSwr Nonp        128 (   0)         0 (   0)      128  416768 (     0)   3256
 Devi Nonp       9860 (   3)      9297 (   3)      563  381536 (     0)    677
 AtmA Paged     98156 (   4)     92410 (   4)     5746  378792 (     0)     65
 VadS Nonp   12709663 ( 239)  12697952 ( 227)    11711  374752 (   384)     32
 Ddk  Paged        14 (   0)        12 (   0)        2  356496 (     0) 178248   8
 NtFS Paged 804637780 (26518) 804636345 (26517)     1435  341216 (   200)    237
 AfdC Nonp      24727 (   5)     22604 (   5)     2123  339680 (     0)    160   7
 Sect Paged   8749169 ( 208)   8745632 ( 200)     3537  317288 (   768)     89
 ObNm Paged 963637566 (32422) 963632865 (32416)     4701  316640 (   872)     67
 R100 Nonp         39 (   0)         2 (   0)       37  245856 (     0)   6644
 CM26 Paged       180 (   0)       150 (   0)       30  245760 (     0)   8192
 Sema Nonp     282997 (  25)    278712 (   8)     4285  243624 (   952)     56
 6ADC Nonp        798 (   0)       758 (   0)       40  241776 (     0)   6044
 ReEv Nonp     135294 (   2)    125825 (   0)     9469  227256 (    48)     24
 ArbA Paged        54 (   0)         0 (   0)       54  221184 (     0)   4096
 FSrm Paged      4778 (   0)      4425 (   0)      353  212632 (     0)    602
 Hal  Nonp        952 (   0)       941 (   0)       11  197616 (     0)  17965
 Ntf0 Nonp          3 (   0)         0 (   0)        3  196608 (     0)  65536
 CMSc Paged      5955 (   0)      5209 (   0)      746  195416 (     0)    261
 TCPC Nonp      19258 (   0)     16951 (   2)     2307  194840 (  -160)     84
 Gsem Nonp      31235 (   0)     28857 (   0)     2378  189536 (     0)     79
 TSwd Paged        12 (   0)         3 (   0)        9  188208 (     0)  20912
 ReTa Nonp      32292 (   0)     28406 (   0)     3886  187696 (     0)     48
 Proc Nonp       6207 (   0)      5941 (   0)      266  176624 (     0)    664
 ObSc Paged    520765 ( 131)    519772 ( 131)      993  175472 (     0)    176
  PD  Nonp      84000 (   0)     82539 (   0)     1461  171696 (     0)    117
 usbp Nonp        286 (   0)       225 (   0)       61  160680 (     0)   2634
 brce Nonp       5548 (   1)      5406 (   0)      142  154496 (  1088)   1088
 PRLH Nonp      51083 (   0)     51047 (   0)       36  146944 (     0)   4081
 ReSe Nonp      20688 (   0)     16500 (   0)     4188  134016 (     0)     32
 NtFf Paged        19 (   0)         9 (   0)       10  131360 (     0)  13136
 AmlH Nonp          2 (   0)         0 (   0)        2  131072 (     0)  65536
 RceT Nonp          1 (   0)         0 (   0)        1  131072 (     0) 131072
 LfsI Paged         2 (   0)         0 (   0)        2  131072 (     0)  65536
 Mmpv Nonp      53883 (   0)     51162 (   0)     2721  130608 (     0)     48
 CM32 Paged       181 (   0)       150 (   0)       31  126976 (     0)   4096
 TCPc Nonp     603930 (  28)    601310 (  23)     2620  125760 (   240)     48
 WmIS Paged         1 (   0)         0 (   0)        1  118784 (     0) 118784
 Muta Nonp      92712 (  29)     91027 (  29)     1685  117040 (     0)     69
 ObDi Paged    101934 (  78)     97313 (  74)     4621  110904 (    96)     24
 RxNc Paged    670080 (  27)    668742 (   3)     1338  104136 (  1744)     77

Answer : Need to understand what nonpaging pool tag is having a memory leak...

Quoted from http://technet2.microsoft.com/windowsserver/en/library/0d302498-c947-4655-95af-719ae75acfb51033.mspx?mfr=true

"Example 3: Detect Memory Leakage
This example outlines a procedure for using Poolmon to detect a memory leak.

1.
 Start Poolmon in default mode (no additional parameters).
 
2.
 Press P twice to display allocations from only the paged pool. (The P key toggles the display between paged, non-paged, and both.)
 
3.
 Press B to sort the Bytes column in descending order.
 
4.
 Let Poolmon run for a few hours. Because starting Poolmon changes the data, you must let it run until it reaches a steady state before the data is reliable.
 
5.
 Save the information generated by Poolmon, either as a screenshot, or by copying it from the command window and pasting it into Notepad.
 
6.
 Returning to Poolmon, press P twice again, this time to display only allocations from the non-paged pool.
 

Repeat steps 3, 5 and 6 approximately every half-hour for at least two hours.

When data collection is complete, examine the Diff (allocations minus frees) and Bytes (number of bytes allocated minus number of bytes freed) values for each tag, and note any that continually increase. Next, stop Poolmon, wait for a few hours, and then restart Poolmon. Examine the allocations that were increasing, and determine whether the bytes are now freed. Allocations that have still not been freed, or have continued to increase in size are the likely culprits."

Random Solutions  
 
programming4us programming4us