[转]Windows 7 蓝屏后获取 MEMORY.DMP 文件及注意事项

转自:http://hi.baidu.com/guicomeon/item/d6753a177fc76f0f8fbde46a

系统默认会在 C:\Windows 目录下创建 MEMORY.DMP 文件,来搜集内存错误信息。但有时却找不到。搜索后找到原因:系统分区剩余空间小于25G会自动删除该文件。 

Algorithm to decide whether to store/delete memory.dmp file generated after a system crash:

  1. First report the kernel fault to the Online Crash Analysis Service.
  2. Then, if machine has a registry setting AlwaysKeepMemoryDump set to 1, store the dump file on disk.
  3. Else, if machine is a Windows Server SKU, store the dump file on disk.
  4. Else, if the machine is joined to a domain (i.e. this is a corporate machine), store the dump file on disk.
  5. Else, if machine is not on a domain (i.e. this is a home user’s machine),
    • If free disk space is >= 25GB, store the dump file on disk.
    • Else (free disk space is < 25 GB), delete the dump file.

http://blogs.msdn.com/b/wer/archive/2009/02/09/kernel-dump-storage-and-clean-up-behavior-in-windows-7.aspx

如若始终保存该文件,须在注册表中添加相应键值:

The exact location of the AlwaysKeepMemoryDump setting in the registry is:

  • HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\CrashControl\AlwaysKeepMemoryDump Type: REG_DWORD

转载于:https://www.cnblogs.com/zzSoftware/p/3554148.html

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值