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

Insufficient Memory (Session Pool)

Although we briefly mentioned session pool in Insufficient Memory (kernel pool) pattern (Volume 1, page 441) we decided to factor it into a separate (sub)pattern and provide WinDbg commands to analyze possible leaks. The following output shows the sequence of commands that gives you an idea although the example itself was taken from a healthy dump so no bold emphasis (we had seen leaks in session pool happening mostly in 32-bit cases):

1: kd> !vm 4


Terminal Server Memory Usage By Session:


Session ID 0 @ fffff8800324d000:
Paged Pool Usage:        4128K
Commit Usage:            7488K
 Session ID 1 @ fffff88002f65000: Paged Pool Usage: 32852K Commit Usage: 36488K 1: kd> !session Sessions on machine: 2 Valid Sessions: 0 1 Error ...

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