Taz1004 Posted April 20, 2021 Posted April 20, 2021 My C drive was filling up quickly and it was due to DCS crash dumps. About 250mb file created each time it crashes. And my DCS was crashing often while I was testing mods so it was adding up to quite a lot. Is there Autoexec setting that disables crash dumps? Better Smoke - Better Trees Caucasus - Better Trees Syria - Better Trees Mariana - Clear Canopy Glass
Taz1004 Posted May 19, 2021 Author Posted May 19, 2021 Gonna bump this one more time. I'm still getting these crash dumps filling up my SSD. I'm sure it's same with others who are experiencing lots of crash. I remember seeing some autoexec.cfg setting that disables crash dumps... or was it crash logs. Isn't there documentation for autoexec.cfg? Better Smoke - Better Trees Caucasus - Better Trees Syria - Better Trees Mariana - Clear Canopy Glass
Flappie Posted May 19, 2021 Posted May 19, 2021 That is interesting. I've just checked the same folder on my end: it only contains crash dumps from 2019... and I know for sure my DCS isn't that stable. I have no idea how I it stopped creating dumps in here, but maybe they are elsewhere on my drives. I'll take a look. Sorry, I have no idea how to stop these files from being generated. ---
Taz1004 Posted May 19, 2021 Author Posted May 19, 2021 Just realized something right after I bumped it. I was mistaking crash log with crash dump. I believe crash dump is disabled in Windows Advanced system settings. Better Smoke - Better Trees Caucasus - Better Trees Syria - Better Trees Mariana - Clear Canopy Glass
Flappie Posted May 19, 2021 Posted May 19, 2021 I'm not so sure, because the paths don't match ( %SystemRoot%\MEMORY.DMP different from %UserProfile%\AppData\Local\CrashDumps ). EDIT: here you go : https://docs.microsoft.com/en-us/windows/win32/wer/collecting-user-mode-dumps?redirectedfrom=MSDN ---
Taz1004 Posted May 19, 2021 Author Posted May 19, 2021 Thanks. Seems like you can disable it in Services too. https://www.ibm.com/support/pages/large-dmp-files-example-cusersappdatalocalcrashdumpsccrexe12345dmp-filling-client-device-typically-citrix-server-hard-drive-triggered-microsoft-windows-wer-user-mode-dumps I just never concerned myself with it but noticing it now because DCS crash dumps are big. Better Smoke - Better Trees Caucasus - Better Trees Syria - Better Trees Mariana - Clear Canopy Glass
jfnelson0127 Posted May 19, 2021 Posted May 19, 2021 Can you periodically delete the .dmp files in the CrashDump folder?
Flappie Posted May 20, 2021 Posted May 20, 2021 (edited) 6 hours ago, jfnelson0127 said: Can you periodically delete the .dmp files in the CrashDump folder? Absolutely. They are just memories of previous crashes. It means you can delete them whenever you want. Edited May 20, 2021 by Flappie ---
Taz1004 Posted May 20, 2021 Author Posted May 20, 2021 (edited) Had a crash after today's patch and I'm still getting these dumps. I did the Regedit and Services fix above and still getting it. By the way, the dump file is only generated if you get the crash message box from DCS. Not when it just quits or hangs. Edited May 20, 2021 by Taz1004 Better Smoke - Better Trees Caucasus - Better Trees Syria - Better Trees Mariana - Clear Canopy Glass
Flappie Posted May 20, 2021 Posted May 20, 2021 There are two different regedit tips here. Have you tried both of them? ---
Taz1004 Posted May 20, 2021 Author Posted May 20, 2021 1 hour ago, Flappie said: There are two different regedit tips here. Have you tried both of them? That's actually for Windows 7 and what it does is same thing as what I posted for Win10. Disable crash dump in Regedit and Services. And they're both disabled. Better Smoke - Better Trees Caucasus - Better Trees Syria - Better Trees Mariana - Clear Canopy Glass
Flappie Posted May 20, 2021 Posted May 20, 2021 Then I have no idea why dumps keep coming at you. Maybe you can trace down which process creates these dumps. If you own the Viggen, here's a way to make DCS crash on purpose: REF LOLA in Typing "990000" -> Display goes "000000" Typing "9099" Pressing LS -> Leads to an instant crash ---
Solution Taz1004 Posted May 22, 2021 Author Solution Posted May 22, 2021 (edited) I think I got it. Different place in Regedit based on this MS doc. https://docs.microsoft.com/en-us/windows/win32/wer/collecting-user-mode-dumps?redirectedfrom=MSDN Below is the Key you have to add. Crashed twice today and dumps didn't get created. It's classified as "User-Mode Dump" and that's why it wasn't working with other Regedit. Edited May 22, 2021 by Taz1004 1 Better Smoke - Better Trees Caucasus - Better Trees Syria - Better Trees Mariana - Clear Canopy Glass
Recommended Posts