Questions tagged [memory-dump]

A memory dump contains the recorded state of the memory of a computer program. Please use the more specific [tag:coredump] for Linux memory dumps and [tag:crash-dumps] for Windows memory dumps.

In computing, a memory dump ("core dump" or "system dump" in Unix, "minidump" or "crash-dump" on Windows), consists of the recorded state of the working memory of a computer program at a specific time.

Other key pieces of program state are usually recorded at the same time, including the processor registers, which may include the program counter, stack pointer, memory management information, and other processor and operating system flags and information.

Memory dumps are often used to assist in diagnosing and debugging errors in computer programs. Such dump can be created when the program terminates abnormally (crashes) or reaches a deadlock (hangs).

Please use for Linux/Unix memory dumps, for Windows memory dumps and for Java programs.

143 questions
49
votes
2 answers

MAT (Eclipse Memory Analyzer) - how to view bitmaps from memory dump

I'm analyzing memory usage of my Android app with help of Eclipse Memory Analyzer (also known as MAT). Sometimes I can find strange instances of android.graphics.Bitmap class, utilizing big portion of heap. Problem is what I can't find source of…
HitOdessit
  • 7,198
  • 4
  • 36
  • 59
28
votes
3 answers

Taking memory dump using C#

I've got a System.Diagnostics.Process object. My C# program is monitoring it for some condition. When the condition is hit, I want to take a full memory dump of the Process. What is the best way to achieve this? Is there a way that is provided by…
Kenn
  • 2,379
  • 2
  • 29
  • 38
22
votes
6 answers

Tool for analyzing .Net app memory dumps

Can somebody suggest a good free tool for analyzing .Net memory dumps other than Adplus/windbg/sos ?
Gulzar Nazim
  • 51,744
  • 26
  • 128
  • 170
19
votes
3 answers

How to analyze a dump file from a Delphi DLL file?

I'm an escalation engineer on a product which use both C# and Delphi 2006 code. In most cases C# issues are debugged with WinDbg and Delphi 2006 issues with EurekaLog. But when the issue is a Delphi memory usage, EurekaLog doesn't give enough…
Yann
  • 225
  • 2
  • 7
15
votes
5 answers

How to debug Azure Web App memory leaks?

There is the excellent Start Profiling button in the SCM portal that works perfect for CPU. Then there are some sources that refer to a Download GC Dump button: https://stackoverflow.com/a/27987593/647845 But that doesn't seem to be available…
Dirk Boer
  • 8,522
  • 13
  • 63
  • 111
12
votes
2 answers

Finding the crash dump files for a C# app

An app I'm writing always crashes on a clients computer, but I don't get an exception description, or a stack trace. The only thing I get is a crash report that windows wants to send to Microsoft. I would like to get that dump file and investigate…
Mats Fredriksson
  • 19,783
  • 6
  • 37
  • 57
11
votes
3 answers

Linux Core Dump Without Killing Process

Is it possible to generate a core dump without killing the process? If so, what is the command/signal to do so? Thanks, Jim
Jim
  • 111
  • 1
  • 1
  • 3
9
votes
3 answers

Dump memory of a process

When reading the /proc/$PID/maps you get the mapped memory regions. Is ther a way to dump one of this regions? $ cat /proc/18448/maps ...[snip]... 0059e000-005b1000 r-xp 00000000 08:11 40 …
mathk
  • 7,973
  • 6
  • 45
  • 74
8
votes
3 answers

How can I view memory usage, thread dump for java programs, from command line?

Is there any known command line tool to ask the JVM to see memory usage and thread dumps of a java program. something like a headless jvisualvm?
stackoverflow
  • 18,348
  • 50
  • 129
  • 196
8
votes
3 answers

Saving SBCL Image From Emacs Multiple Threads Error

I have been playing with saving running Common Lisp images to save time upon restart and make the development more efficient. However, I am having a bit of a problem since when I run the following command in the…
MadPhysicist
  • 5,401
  • 11
  • 42
  • 107
8
votes
4 answers

Creating a Memory Dump of a Process in Windows Server 2003?

Since windows Vista, we have the nice option to create a memory dump of a process directly from Task Manager. Sadly, Windows Server 2003 does not have this option yet :( I found ways to do a complete system-wide memory dump, but that's a bit too…
Michael Stum
  • 177,530
  • 117
  • 400
  • 535
7
votes
4 answers

User Initiated Kernel dump in Windows XP

I remember watching a webcast from Mark Russinovich showing the sequence of keyboard keys for a user initiated kernel dump. Can somebody refresh my memory on the exact order of the keys. Please note this is for XP.
Gulzar Nazim
  • 51,744
  • 26
  • 128
  • 170
6
votes
1 answer

Parse the crash dump in WinDbg for private bytes (other than managed heap)?

I want to parse the full crash dump (*.dmp) file and get the private bytes data. I know that VMMap of SysInternals can tell me how much my private bytes, heap etc are all but what I need is if I have the dump, I should be able to parse it and get…
arb
  • 71
  • 1
  • 4
6
votes
1 answer

STM32F407 memory layout

I am trying to use Percepio trace lib for FreeRTOS in Snapshot recorder mode. After compilation and running it on my discovery board I need to somehow dump entire RAM to file. I've started ST-LINK utility but I am puzzled on how to dump entire…
user505160
  • 1,176
  • 8
  • 25
  • 44
6
votes
1 answer

Can't convert hprof dump

I try convert dump from Android Device Monitor to Eclipse Memory Analyzer format. I use next command hprof-conv dump.hprof converted-dump.hprof and i get error hprof-conv: command not found I do this in a /platform-tools folder. When I run the…
Tiberal
  • 410
  • 2
  • 6
  • 16
1
2 3
9 10