Frequently Asked Questions
Frequently Asked Questions: M-Files
Creating a memory dump from a specific process with Task Manager
Posted by Rami Taipale (M-Files) on 21 February 2019 03:48 PM

What is a dump and how is it useful?

A dump is a snapshot of an application at the point in time the dump is taken. It shows what was being executed, which modules are loaded, and if saved with a heap, contains a snapshot of what was in the application’s memory at that point in time. Beginning in Windows Vista, the Windows Task Manager has included support for creating dump files. This can be very useful, and is slightly quicker and less complicated than creating a dump using ProcDump or Visual Studio; there are however a few things to note when using Task Manager to create dumps.

  • Task Manager always creates a dump with heap (potentially more useful for diagnosing an issue but increased file size)
  • If the application has crashed, Task Manager does not include the exception information in the dump
  • If the problematic application is 32-bit, you must use the 32-bit version of Task Manager. That can be found from C:\Windows\SysWOW64 (taskmgr.exe)

So usually with program / process crash situations you should use ProcDump instead.

Works in:

  • Client: Windows Vista and higher.
  • Server: Windows Server 2008 and higher.

 Instructions:

  1. Open "Windows Task Manager" (if the problematic application is 32-bit, open taskmgr.exe from the directory C:\Windows\SysWOW64)
  2. Select the "Processes" tab
  3. Right-click the process you wish to take a dump of
  4. Select "Create Dump File"
  5. Wait until you get the notification on successful creation of the file
  6. A dialogue will appear with the location of the saved dump
  7. Copy the path to the dump file directory and click OK
  8. Open Windows Explorer and paste the copied path (remove the file name if it was copied) to the address line
  9. You should see the dump file in the current directory
M-Files Technical Support should specify what process is the target in your situation. The dump file size is probably quite large and you should get separate instructions on how to deliver it to the M-Files Technical Support.

Example:

When you have problems with e.g. Excel, open Task Manager (32-bit version if the Office installed is 32-bit version), open the "Processes" tab and right-click "Microsoft Excel" and choose "Create dump file".

TaskManagerDump-Excel
 
 
 
(1 vote(s))
This article was helpful
This article was not helpful

Help Desk Software by Kayako case