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
|
memdump set-dump-type=tiny (to change dump type) |
Active dump type is changed to 'Tiny'.
|
memdump create-dump (without specifying dump type) |
Creates 'Full' dump file with the prefix 'XPS-On-Demand-Crash-Dump'...
|
memdump create-dump=tiny (specifying the dump type) |
Creates 'Tiny' dump file with the prefix 'XPS-On-Demand-Crash-Dump'...
|
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'...
|
memdump freeze-monitoring (on-demand dump when XPS freezes) |
Auto dump creation on possible freeze is turned ON.
|
memdump freeze-monitoring=off (turn off the auto-dump-on-freeze feature) |
Auto dump creation on possible freeze is turned OFF |