在 Windows 2008 64 位上保存 IIS 进程的大型堆转储
我刚刚尝试创建占用 6 GB RAM 的 IIS 进程的堆转储(taskmgr,右键单击,创建转储文件)。我收到以下错误,并且转储文件已损坏:
仅读取进程内存的一部分或 写进程内存请求是 已完成
有人遇到过这个吗?知道解决方法吗?
I just tried creating a heap dump of an IIS process that was taking 6 gigs of RAM (taskmgr, right click, Create Dump File). I got the follow error, and the dump file was corrupt:
only part of a readprocessmemory or
writeprocessmemory request was
completed
Did anyone encounter this? Know of a workaround?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
听起来好像它无法读取某些进程内存并退出(这将导致转储文件损坏)。如果您使用 Windbg 附加到进程,则可以运行
.dump /mA
命令使其继续运行,即使在读取进程内存时出错。 以下是该选项的说明。It sounds as if it failed to read some of the process memory and bailed out (which would result in a corrupt dump file). If you attach to the process with windbg, you could run a
.dump /mA
command to make it continue on even if it gets an error reading the process memory. Here is a description of the option.我将使用 Microsoft TechNet 中的 ProcDump 。它是一个独立的可执行文件,由 Windows Internals 的作者编写。
I would use ProcDump from Microsoft TechNet. It's a standalone executable written by the people who authored Windows Internals.