O'Reilly logo

Memory Dump Analysis Anthology, Volume 7 by Dmitry Vostokov

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Memory Leak (Page Tables)

Sometimes we have memory leaks related to the growing number of page tables. One reason for that could be the growing number of zombie processes (Volume 2, page 196) noticeable with tens of thousands of them.

1: kd> !process 0 0
[...]
PROCESS fffffa80266bd6f0
     SessionId: 0 Cid: 0a6c Peb: 7fffffdc000 ParentCid: 03ac
     DirBase: 9d35a000 ObjectTable: fffff8a00170ac80 HandleCount: 152.
     Image: svchost.exe
[...]
PROCESS fffffa8027de9b30
     SessionId: 0 Cid: 21d0 Peb: 7fffffdf000 ParentCid: 02e0
     DirBase: 37881000 ObjectTable: 00000000 HandleCount: 0.
     Image: conhost.exe
[...]
PROCESS fffffa8028eb0600
     SessionId: 0 Cid: ab88 Peb: 7fffffdf000 ParentCid: 02e0
     DirBase: 27a2f000 ObjectTable: 00000000 HandleCount: 0. Image: conhost.exe ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required