When a full dump isn’t really a full dump…

Published Jan 15 2019 01:11 PM 374 Views
Microsoft
First published on MSDN on Aug 04, 2010

I was working on a customer issue which involved debugging a dump.  The dump was generated via SQLDumper within Reporting Services.  So, the name of the dump was similar to SQLDmpr0001.mdmp.  When I opened the dump I saw the following:

Loading Dump File [C:tempSQLDmpr0001.mdmp]
User Mini Dump File with Full Memory: Only application data is available

Which tells me we actually have a full dump.  Well, that and the fact that the dump was almost 8GB.

Through the course of debugging, I had a need to run !handle to get some handle information.  This is what the output should look like for a specific handle:

0:000> !handle 50 f
Handle 0000000000000050
Type             Event
Attributes       0
GrantedAccess    0x1f0003:
Delete,ReadControl,WriteDac,WriteOwner,Synch
QueryState,ModifyState
HandleCount      2
PointerCount     4
Name             <none>
No object specific information available

However, this is what I got when I tried running it on this particular dump:

0:050> !handle 510 f
ERROR: !handle: extension exception 0x80004002.
"Unable to read handle information"

So, maybe that individual handle was bad, but running !handle also had the same issue.

0:050> !handle
ERROR: !handle: extension exception 0x80004002.
"Unable to read handle information"

To be honest, this is the first time I’ve had to look at handle information in an RS Dump as most of the time I’m looking at the managed side of things, not the native side.  My thought at that point was that the dump collection didn’t actually grab handle related information.  This dump was collected with the following setting within rsreportserver.config

<!--  <Add Key="WatsonFlags" Value="0x0430" /> full dump-->
<!--  <Add Key="WatsonFlags" Value="0x0428" /> minidump -->
<!--  <Add Key="WatsonFlags" Value="0x0002" /> no dump-->
<Add Key="WatsonFlags" Value="0x0430"/>

430 showed full dump from the rsreportserver.config, but lets see what this actually means from sqldumper.

C:Program FilesMicrosoft SQL Server100Shared>sqldumper /?
Usage: sqldumper [ProcessID [ThreadId [Flags[:MiniDumpFlags] [SqlInfoPtr [DumpDir [ExceptionRecordPtr [ContextPtr [ExtraFile]]]]]]]] [-I<InstanceName>] [-S<ServiceName>][-remoteservers:[print|dump|freeze|resume|remote:guiddumporiginsignaturelocalIdportoperationType]]
Flags:
dbgbreak            = 0x0001
nominidump          = 0x0002
validate_image      = 0x0004
referenced_memory   = 0x0008
all_memory          = 0x0010
dump_all_threads    = 0x0020
match_file_name     = 0x0040
no_longer_used_flag = 0x0080
verbose             = 0x0100
wait_at_exit        = 0x0200
send_to_watson      = 0x0400
defaultflags        = 0x0800
maximumdump         = 0x1000
mini_and_maxdump    = 0x2000
force_send_to_watson= 0x4000
full_filtered_dump  = 0x8000

MiniDumpFlags:
Normal                           = 0x0000
WithDataSegs                     = 0x0001
WithFullMemory                   = 0x0002
WithHandleData                   = 0x0004
FilterMemory                     = 0x0008
ScanMemory                       = 0x0010
WithUnloadedModules              = 0x0020
WithIndirectlyReferencedMemory   = 0x0040
FilterModulePaths                = 0x0080
WithProcessThreadData            = 0x0100
WithPrivateReadWriteMemory       = 0x0200
WithoutOptionalData              = 0x0400
WithFullMemoryInfo               = 0x0800
WithThreadInfo                   = 0x1000

So, that gets me all memory, dump all threads and send to watson.  Apparently, all_memory doesn’t include the handle table.  As a test I ran SQLDumper with the flag 0x1430, with 0x1000 being maximumdump.  The full dump collected with that, got me the handle information I was looking for.

UPDATE 08/04/2010:

Looking at it further, you can just use 0x1400 which will give you the maximum setting along with it being sent to watson.  Here are the equivalents to doing a .dump command in the debugger (i.e. WinDBG):

SQLDumper Flag .dump /m flag
all_memory .dump /mf - Adds full memory data to the minidump. All accessible committed pages owned by the target application will be included.
maximumdump .dump /ma - Creates a minidump with all optional additions. The /ma option is equivalent to /mfFhut — it adds full memory data, handle data, unloaded module information, basic memory information, and thread time information to the minidump. Any failure to read inaccessable memory results in termination of the minidump generation.

Typically when we go for a dump outside of SQL Dumper, and it isn’t the SQL Engine, we ask for a .dump /ma to get a full dump.  There is a possibility that maximumdump could be larger than all_memory.  In fact it will be larger, but in my quick testing, it wasn’t much larger, a few meg.  But, this is dependent on the system.

Adam W. Saxton | Microsoft SQL Server Escalation Services
https://twitter.com/awsaxton


%3CLINGO-SUB%20id%3D%22lingo-sub-316184%22%20slang%3D%22en-US%22%3EWhen%20a%20full%20dump%20isn%E2%80%99t%20really%20a%20full%20dump%E2%80%A6%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-316184%22%20slang%3D%22en-US%22%3E%0A%20%26lt%3Bmeta%20http-equiv%3D%22Content-Type%22%20content%3D%22text%2Fhtml%3B%20charset%3DUTF-8%22%20%2F%26gt%3B%3CSTRONG%3E%20First%20published%20on%20MSDN%20on%20Aug%2004%2C%202010%20%3C%2FSTRONG%3E%20%3CBR%20%2F%3E%3CP%3EI%20was%20working%20on%20a%20customer%20issue%20which%20involved%20debugging%20a%20dump.%26nbsp%3B%20The%20dump%20was%20generated%20via%20SQLDumper%20within%20Reporting%20Services.%26nbsp%3B%20So%2C%20the%20name%20of%20the%20dump%20was%20similar%20to%20SQLDmpr0001.mdmp.%26nbsp%3B%20When%20I%20opened%20the%20dump%20I%20saw%20the%20following%3A%3C%2FP%3E%0A%20%20%3CBLOCKQUOTE%3E%0A%20%20%20%3CP%3ELoading%20Dump%20File%20%5BC%3AtempSQLDmpr0001.mdmp%5D%20%3CBR%20%2F%3E%20User%20Mini%20Dump%20File%20with%20Full%20Memory%3A%20Only%20application%20data%20is%20available%3C%2FP%3E%0A%20%20%3C%2FBLOCKQUOTE%3E%0A%20%20%3CP%3EWhich%20tells%20me%20we%20actually%20have%20a%20full%20dump.%26nbsp%3B%20Well%2C%20that%20and%20the%20fact%20that%20the%20dump%20was%20almost%208GB.%3C%2FP%3E%0A%20%20%3CP%3EThrough%20the%20course%20of%20debugging%2C%20I%20had%20a%20need%20to%20run%20!handle%20to%20get%20some%20handle%20information.%26nbsp%3B%20This%20is%20what%20the%20output%20should%20look%20like%20for%20a%20specific%20handle%3A%3C%2FP%3E%0A%20%20%3CBLOCKQUOTE%3E%0A%20%20%20%3CP%3E0%3A000%26gt%3B%20!handle%2050%20f%20%3CBR%20%2F%3E%20Handle%200000000000000050%20%3CBR%20%2F%3E%20Type%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20Event%20%3CBR%20%2F%3E%20Attributes%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%200%20%3CBR%20%2F%3E%20GrantedAccess%26nbsp%3B%26nbsp%3B%26nbsp%3B%200x1f0003%3A%20%3CBR%20%2F%3E%20Delete%2CReadControl%2CWriteDac%2CWriteOwner%2CSynch%20%3CBR%20%2F%3E%20QueryState%2CModifyState%20%3CBR%20%2F%3E%20HandleCount%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%202%20%3CBR%20%2F%3E%20PointerCount%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%204%20%3CBR%20%2F%3E%20Name%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%3CNONE%3E%20%3CBR%20%2F%3E%20No%20object%20specific%20information%20available%3C%2FNONE%3E%3C%2FP%3E%0A%20%20%3C%2FBLOCKQUOTE%3E%0A%20%20%3CP%3EHowever%2C%20this%20is%20what%20I%20got%20when%20I%20tried%20running%20it%20on%20this%20particular%20dump%3A%3C%2FP%3E%0A%20%20%3CBLOCKQUOTE%3E%0A%20%20%20%3CP%3E0%3A050%26gt%3B%20!handle%20510%20f%20%3CBR%20%2F%3E%20ERROR%3A%20!handle%3A%20extension%20exception%200x80004002.%20%3CBR%20%2F%3E%20%22Unable%20to%20read%20handle%20information%22%3C%2FP%3E%0A%20%20%3C%2FBLOCKQUOTE%3E%0A%20%20%3CP%3ESo%2C%20maybe%20that%20individual%20handle%20was%20bad%2C%20but%20running%20!handle%20also%20had%20the%20same%20issue.%3C%2FP%3E%0A%20%20%3CBLOCKQUOTE%3E%0A%20%20%20%3CP%3E0%3A050%26gt%3B%20!handle%20%3CBR%20%2F%3E%20ERROR%3A%20!handle%3A%20extension%20exception%200x80004002.%20%3CBR%20%2F%3E%20%22Unable%20to%20read%20handle%20information%22%3C%2FP%3E%0A%20%20%3C%2FBLOCKQUOTE%3E%0A%20%20%3CP%3ETo%20be%20honest%2C%20this%20is%20the%20first%20time%20I%E2%80%99ve%20had%20to%20look%20at%20handle%20information%20in%20an%20RS%20Dump%20as%20most%20of%20the%20time%20I%E2%80%99m%20looking%20at%20the%20managed%20side%20of%20things%2C%20not%20the%20native%20side.%26nbsp%3B%20My%20thought%20at%20that%20point%20was%20that%20the%20dump%20collection%20didn%E2%80%99t%20actually%20grab%20handle%20related%20information.%26nbsp%3B%20This%20dump%20was%20collected%20with%20the%20following%20setting%20within%20rsreportserver.config%3C%2FP%3E%0A%20%20%3CBLOCKQUOTE%3E%0A%20%20%20%3CP%3E%3C!--%C2%A0%20%3CAdd%20Key%3D%26quot%3BWatsonFlags%26quot%3B%20Value%3D%26quot%3B0x0430%26quot%3B%20%2F%3E%20full%20dump--%3E%20%3CBR%20%2F%3E%20%3C!--%C2%A0%20%3CAdd%20Key%3D%26quot%3BWatsonFlags%26quot%3B%20Value%3D%26quot%3B0x0428%26quot%3B%20%2F%3E%20minidump%20--%3E%20%3CBR%20%2F%3E%20%3C!--%C2%A0%20%3CAdd%20Key%3D%26quot%3BWatsonFlags%26quot%3B%20Value%3D%26quot%3B0x0002%26quot%3B%20%2F%3E%20no%20dump--%3E%20%3CBR%20%2F%3E%20%3CADD%20key%3D%22%26quot%3BWatsonFlags%26quot%3B%22%20value%3D%22%26quot%3B0x0430%26quot%3B%2F%22%3E%3C%2FADD%3E%3C%2FP%3E%0A%20%20%3C%2FBLOCKQUOTE%3E%0A%20%20%3CP%3E430%20showed%20full%20dump%20from%20the%20rsreportserver.config%2C%20but%20lets%20see%20what%20this%20actually%20means%20from%20sqldumper.%3C%2FP%3E%0A%20%20%3CBLOCKQUOTE%3E%0A%20%20%20%3CP%3EC%3AProgram%20FilesMicrosoft%20SQL%20Server100Shared%26gt%3Bsqldumper%20%2F%3F%20%3CBR%20%2F%3E%20Usage%3A%20sqldumper%20%5BProcessID%20%5BThreadId%20%5BFlags%5B%3AMiniDumpFlags%5D%20%5BSqlInfoPtr%20%5BDumpDir%20%5BExceptionRecordPtr%20%5BContextPtr%20%5BExtraFile%5D%5D%5D%5D%5D%5D%5D%5D%20%5B-I%3CINSTANCENAME%3E%5D%20%5B-S%3CSERVICENAME%3E%5D%5B-remoteservers%3A%5Bprint%7Cdump%7Cfreeze%7Cresume%7Cremote%3AguiddumporiginsignaturelocalIdportoperationType%5D%5D%20%3CBR%20%2F%3E%20Flags%3A%20%3CBR%20%2F%3E%20dbgbreak%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%3D%200x0001%20%3CBR%20%2F%3E%20nominidump%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%3D%200x0002%20%3CBR%20%2F%3E%20validate_image%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%3D%200x0004%20%3CBR%20%2F%3E%20referenced_memory%26nbsp%3B%26nbsp%3B%20%3D%200x0008%20%3CBR%20%2F%3E%20all_memory%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%3D%200x0010%20%3CBR%20%2F%3E%20dump_all_threads%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%3D%200x0020%20%3CBR%20%2F%3E%20match_file_name%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%3D%200x0040%20%3CBR%20%2F%3E%20no_longer_used_flag%20%3D%200x0080%20%3CBR%20%2F%3E%20verbose%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%3D%200x0100%20%3CBR%20%2F%3E%20wait_at_exit%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%3D%200x0200%20%3CBR%20%2F%3E%20send_to_watson%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%3D%200x0400%20%3CBR%20%2F%3E%20defaultflags%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%3D%200x0800%20%3CBR%20%2F%3E%20maximumdump%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%3D%200x1000%20%3CBR%20%2F%3E%20mini_and_maxdump%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%3D%200x2000%20%3CBR%20%2F%3E%20force_send_to_watson%3D%200x4000%20%3CBR%20%2F%3E%20full_filtered_dump%26nbsp%3B%20%3D%200x8000%3C%2FSERVICENAME%3E%3C%2FINSTANCENAME%3E%3C%2FP%3E%0A%20%20%20%3CP%3EMiniDumpFlags%3A%20%3CBR%20%2F%3E%20Normal%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%3D%200x0000%20%3CBR%20%2F%3E%20WithDataSegs%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%3D%200x0001%20%3CBR%20%2F%3E%20WithFullMemory%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%3D%200x0002%20%3CBR%20%2F%3E%20WithHandleData%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%3D%200x0004%20%3CBR%20%2F%3E%20FilterMemory%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%3D%200x0008%20%3CBR%20%2F%3E%20ScanMemory%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%3D%200x0010%20%3CBR%20%2F%3E%20WithUnloadedModules%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%3D%200x0020%20%3CBR%20%2F%3E%20WithIndirectlyReferencedMemory%26nbsp%3B%26nbsp%3B%20%3D%200x0040%20%3CBR%20%2F%3E%20FilterModulePaths%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%3D%200x0080%20%3CBR%20%2F%3E%20WithProcessThreadData%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%3D%200x0100%20%3CBR%20%2F%3E%20WithPrivateReadWriteMemory%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%3D%200x0200%20%3CBR%20%2F%3E%20WithoutOptionalData%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%3D%200x0400%20%3CBR%20%2F%3E%20WithFullMemoryInfo%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%3D%200x0800%20%3CBR%20%2F%3E%20WithThreadInfo%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%3D%200x1000%3C%2FP%3E%0A%20%20%3C%2FBLOCKQUOTE%3E%0A%20%20%3CP%3ESo%2C%20that%20gets%20me%20all%20memory%2C%20dump%20all%20threads%20and%20send%20to%20watson.%26nbsp%3B%20Apparently%2C%20all_memory%20doesn%E2%80%99t%20include%20the%20handle%20table.%26nbsp%3B%20As%20a%20test%20I%20ran%20SQLDumper%20with%20the%20flag%200x1430%2C%20with%200x1000%20being%20maximumdump.%26nbsp%3B%20The%20full%20dump%20collected%20with%20that%2C%20got%20me%20the%20handle%20information%20I%20was%20looking%20for.%3C%2FP%3E%0A%20%20%3CP%3E%3C%2FP%3E%0A%20%20%3CP%3E%3CSTRONG%3E%20UPDATE%2008%2F04%2F2010%3A%20%3C%2FSTRONG%3E%3C%2FP%3E%0A%20%20%3CP%3ELooking%20at%20it%20further%2C%20you%20can%20just%20use%200x1400%20which%20will%20give%20you%20the%20maximum%20setting%20along%20with%20it%20being%20sent%20to%20watson.%26nbsp%3B%20Here%20are%20the%20equivalents%20to%20doing%20a%20.dump%20command%20in%20the%20debugger%20(i.e.%20WinDBG)%3A%3C%2FP%3E%0A%20%20%3CTABLE%3E%0A%20%20%20%3CTBODY%3E%3CTR%3E%0A%20%20%20%20%3CTD%3E%3CSTRONG%3E%20SQLDumper%20Flag%20%3C%2FSTRONG%3E%3C%2FTD%3E%0A%20%20%20%20%3CTD%3E%3CSTRONG%3E%20.dump%20%2Fm%20flag%20%3C%2FSTRONG%3E%3C%2FTD%3E%0A%20%20%20%3C%2FTR%3E%0A%20%20%20%3CTR%3E%0A%20%20%20%20%3CTD%3Eall_memory%3C%2FTD%3E%0A%20%20%20%20%3CTD%3E.dump%20%2Fmf%20-%20Adds%20full%20memory%20data%20to%20the%20minidump.%20All%20accessible%20committed%20pages%20owned%20by%20the%20target%20application%20will%20be%20included.%3C%2FTD%3E%0A%20%20%20%3C%2FTR%3E%0A%20%20%20%3CTR%3E%0A%20%20%20%20%3CTD%3Emaximumdump%3C%2FTD%3E%0A%20%20%20%20%3CTD%3E.dump%20%2Fma%20-%20Creates%20a%20minidump%20with%20all%20optional%20additions.%20The%20%3CB%3E%20%2Fma%20%3C%2FB%3E%20option%20is%20equivalent%20to%20%3CB%3E%20%2FmfFhut%20%3C%2FB%3E%20%E2%80%94%20it%20adds%20full%20memory%20data%2C%20handle%20data%2C%20unloaded%20module%20information%2C%20basic%20memory%20information%2C%20and%20thread%20time%20information%20to%20the%20minidump.%20Any%20failure%20to%20read%20inaccessable%20memory%20results%20in%20termination%20of%20the%20minidump%20generation.%3C%2FTD%3E%0A%20%20%20%3C%2FTR%3E%0A%20%20%3C%2FTBODY%3E%3C%2FTABLE%3E%0A%20%20%3CP%3ETypically%20when%20we%20go%20for%20a%20dump%20outside%20of%20SQL%20Dumper%2C%20and%20it%20isn%E2%80%99t%20the%20SQL%20Engine%2C%20we%20ask%20for%20a%20.dump%20%2Fma%20to%20get%20a%20full%20dump.%26nbsp%3B%20There%20is%20a%20possibility%20that%20maximumdump%20could%20be%20larger%20than%20all_memory.%26nbsp%3B%20In%20fact%20it%20will%20be%20larger%2C%20but%20in%20my%20quick%20testing%2C%20it%20wasn%E2%80%99t%20much%20larger%2C%20a%20few%20meg.%26nbsp%3B%20But%2C%20this%20is%20dependent%20on%20the%20system.%3C%2FP%3E%0A%20%20%3CP%3E%3C%2FP%3E%0A%20%20%3CP%3EAdam%20W.%20Saxton%20%7C%20Microsoft%20SQL%20Server%20Escalation%20Services%20%3CBR%20%2F%3E%20%3CA%20href%3D%22https%3A%2F%2Ftwitter.com%2Fawsaxton%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%22%3E%20https%3A%2F%2Ftwitter.com%2Fawsaxton%20%3C%2FA%3E%3C%2FP%3E%0A%20%20%3CP%3E%3C%2FP%3E%3CBR%20%2F%3E%3C%2FLINGO-BODY%3E%3CLINGO-TEASER%20id%3D%22lingo-teaser-316184%22%20slang%3D%22en-US%22%3EFirst%20published%20on%20MSDN%20on%20Aug%2004%2C%202010%20I%20was%20working%20on%20a%20customer%20issue%20which%20involved%20debugging%20a%20dump.%3C%2FLINGO-TEASER%3E%3CLINGO-LABS%20id%3D%22lingo-labs-316184%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3Ememory%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3Etroubleshooting%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E
Version history
Last update:
‎Jan 15 2019 01:11 PM
Updated by: