memdump command usage

This topic covers the memdump command syntax, usage, and examples.

memdump help
memdump [get-dump-type]
memdump set-dump-type=(none|tiny|full|reset)
memdump create-dump[=(tiny|full|current)] [file-prefix=<prefix of dump file>]
memdump freeze-monitoring[=(on|off|true|false|yes|no)]

memdump usage information:

memdump help - displays the help for 'memdump' command.

memdump get-dump-type - displays the current and the application's default dump type. 'Application default' is the dump type set in the settings.xml file.

memdump set-dump-type - changes the current dump type.

memdump create-dump - creates an on-demand memory dump of XPS' current state.

memdump create-dump file-prefix=TestDump - creates a dump with prefix TestDump

Examples:

memdump Command Syntax

Command output

memdump

(without specifying any switch)

Active dump type: Full

Application's default dump type: Full

memdump get-dump-type

(to view dump type)

Active dump type: Full
Application's default dump type: Full

memdump set-dump-type=tiny

(to change dump type)

Active dump type is changed to 'Tiny'.
Previously, active dump type was 'Full'.
Application's default dump type is 'Full'

memdump create-dump

(without specifying dump type)

Creates 'Full' dump file with the prefix 'XPS-On-Demand-Crash-Dump'...
Dump file is created: C:/N4/Trunk-Merge/xps-app/xps/build/bin/server/win/Release/XPS-On-Demand-Crash-Dump_Tiny_20151127090108393.dmp

memdump create-dump=tiny

(specifying the dump type)

Creates 'Tiny' dump file with the prefix 'XPS-On-Demand-Crash-Dump'...
Dump file is created: C:/N4/Trunk-Merge/xps-app/xps/build/bin/server/win/Release/XPS-On-Demand-Crash-Dump_Full_20151127090117815.dmp

memdump create-dump=full file-prefix=XPS-Sample

(specify dump type and file-prefix for dump file)

Create 'Full' dump file with the prefix 'XPS-Sample'...
Dump file is created: C:/N4/Trunk-Merge/xps-app/xps/build/bin/server/win/Release/XPS-Sample_Full_20151127090158913.dmp

memdump freeze-monitoring

(on-demand dump when XPS freezes)

Auto dump creation on possible freeze is turned ON.
Zero throughput tolerance time is 2 minute(s).

memdump freeze-monitoring=off

(turn off the auto-dump-on-freeze feature)

Auto dump creation on possible freeze is turned OFF