How to collect a memory dump properly

After discussing the following topics: What is a process’s memory dump First Chance Exception vs Second Chance Exception The importance to collect a memory dump at right time I believe it is right time to share with you how to collect a process memory dump properly. Why properly? Because there is not a single way…

0

The importance to collect a memory dump at right time

Collect a memory dump (in some scenarios) is the only way to understand what it is going wrong inside your process. Why? Since you have the possibility to check your application from inside. As I wrote here, a memory dump is a "picture" of your application for a specific moment of its life. So, it…

0

First Chance Exception vs Second Chance Exception

There are many situations where customers ask me: what exception should I care about, first or second chance? I believe that that it is particularly important to understand the difference between them in order to properly answer to the question. Let’s consider the following code:   static void Main(string[] args) { try { Random r =…

0

What is a process's memory dump?

Most of time, during the troubleshooting of an issue, it is requested to analyse a memory dump of our process. Let’s try to understand what a memory dump is. The easiest way to define a memory dump is to think about it like a "picture" of our process at specific instant of its life. There…

0