开发者

how to change MaxDiskUsage for dump file on windows ce

I enabled error reporting feature on Windows CE platform to gather dump file for crashed application. I set default dump type to system dumps. But we can only get context dumps.

Msdn states:

Typically, the Error Reporting system generates a system dump. However, if the size of the dump file generated would be larger than the space allocated to it, the system generates a much smaller context dump.

It seems error reporting only allows us to set MaxDiskUsage to 512kb at maximum. Is there any way to set Ma开发者_如何转开发xDiskUsage to a larger value?


Using the following registry settings you can adjust the Maximum dump usage.

[HKEY_LOCAL_MACHINE\System\ErrorReporting\DumpSettings]
"ReservedDumpMemory"=dword:80000
"DumpDirectory"="\\Hard Disk\\DumpFile"
"ExtraFilesDirectory"="\\Hard Disk\\ExtraDumpFiles"
"DumpEnabled"=dword:1
"DumpType"=dword:3
"MaxDiskUsage"=dword:10000000
"MaxDumpSize"=dword:8000000
"MaxLogFileSize"=dword:8000000
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜