如何在Java for Windows中启用minidump [英] How to enable minidumps in Java for Windows

查看:2457
本文介绍了如何在Java for Windows中启用minidump的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我不断收到并看到此消息

I keep getting and seeing this message


无法编写核心转储。默认情况下,在客户端版本的Windows上未启用Minidumps

Failed to write core dump. Minidumps are not enabled by default on client versions of Windows

所以我需要知道


  1. 如何在Java中启用minidump(在Windows机器上)

  2. (可选)一旦我拿到minidump就如何解释

我试图找到这2个问题的答案,但我发现的是针对利基问题的非常具体的答案,但这并不让我满意。

I tried to find an answer for those 2 questions but what I found are very specific answers for niche questions and that did not satisfied me.

推荐答案

鉴于这可能对某人有用,您将需要以下JVM选项

Given that this may still be useful for someone you will need the following JVM option

-XX:+ CreateMinidumpOnCrash

-XX:+CreateMinidumpOnCrash

minidump将与JVM使用的内存一样大。

the minidump will be as large as the memory used by your JVM.

要解释minidump,您可以为您的平台安装免费的Visual Studio C ++ Express版本。

To interpret the minidump you can install the free Visual Studio C++ Express edition for your platform.

http://www.visualstudio.com/en-us/products/visual-studio-express-vs.as px

您还需要您感兴趣的DLL的符号。这里有一些关于使用Microsoft Symbol服务器的信息

You will also need the symbols for the DLL's you are interested in. There is some information on using the Microsoft Symbol server here

http://support.microsoft.com/kb/311503

您还需要JVM的符号文件。

You would also need the symbol files for the JVM.

这篇关于如何在Java for Windows中启用minidump的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆