Capture a memory dump using Adplus 'hang' dump.

Here is the syntax to capture a memory dump using adplus (part of the debugging tools).   FYI if you need to capture a ultra large w3wp process, you will need to increase the ping timeout inside IIS so the dump doesn't fail.  IIS will detect a ping failure, and recycle before the memory dump has finished writing to disk.  I've used this since IIS DebugDiag doesn't work on 64 bit of windows server 2008.

adplus -hang -p <PID> -o path to file 

http://support.microsoft.com/kb/286350

Published Wednesday, March 10, 2010 10:41 PM by steve schofield
Filed under:

Comments

# re: Capture a memory dump using Adplus 'hang' dump.

Monday, March 15, 2010 7:53 PM by Posicionamiento web

Thanks for the info.

# re: Capture a memory dump using Adplus 'hang' dump.

Tuesday, March 16, 2010 6:55 AM by Brian Chavez

What's the difference between using adplus vs. windows task manager's Process "Create Dump File"?

(taskmgr > select process > right click > create dump file)?

# re: Capture a memory dump using Adplus 'hang' dump.

Tuesday, March 16, 2010 9:05 PM by steve schofield

The only difference is adplus allows you to chose the output folder.  By default, using task manager puts in the c:\users\username\appdata\.. folder.  This is another option.  That is all. :)