LukaszTaraszka
LukaszTaraszka

Reputation: 859

Windows stop creating dump when click on crashed application

I set registry values to make a crash dump (like here).

It works great for small applications (few megabytes).

When my application is huge, almost 2GB in ram memory and when it crashes, the dump file is created in specified directory. During dump creation application is in 'frozen state'. When user click on this frozen application, system stops creating dump, and remove active dump file from dump directory.

Have anyone idea how can I prevent this situation?

Upvotes: 0

Views: 463

Answers (1)

Thomas Weller
Thomas Weller

Reputation: 59605

There are two Registry entries that influence the behavior: HungAppTimeout (MS Technet) and WaitToKillAppTimeout (MS Technet).

Another approach is the per-application setting DisableProcessWindowsGhosting (MSDN). This requires some modification in your code: calls that method to prevent window dimming. This will affect all users.

If you don't want to change it in your code, you can apply the same setting with the "NoGhost" option of Application Compatibility Toolkit (MS Technet). This can be done on a per PC basis.

Upvotes: 1

Related Questions