IntelliJ在调试前冻结约30秒钟 [英] IntelliJ freezes for about 30 seconds before debugging
问题描述
当我尝试调试我的java应用程序时,IDE会冻结约30秒,并显示以下消息:
已完成,保存缓存
when i try to debug my java app the IDE freezes for about 30 seconds with the message: "Finished, saving caches"
解冻后一切工作正常每次都会发生。
After it unfreezes all works fine. It happens every time.
当我只运行(不调试)它不会冻结。
When i only run (not debug) it does not freeze.
尝试:
- 我更改了系统上的JDK。
- 我更改了IntelliJ版本。 li>
- 我更改为IntelliJ Ultimate - 试用版。
- 使IDE的缓存无效
- 类似的问题
- 我也想出了给定的消息只存在此代码区域 - github-project ,所以我改变了JVM选项,给了InteliJ更多的ram。
- I changed the JDK on system.
- I changed the IntelliJ version.
- I change to IntelliJ Ultimate - trial.
- Invalidating the IDE's cache.
- Similar problem
- I also figured out that the given message exists only it this area of code - github-project so i changed the JVM options to give InteliJ more ram.
InteliJ构建IC-141.1010.3。
InteliJ build IC-141.1010.3.
当我尝试在其他IDE中调试它的工作正常,只有InteliJ卡住了...
When i try to debug in other IDE's it works fine, only InteliJ gets stuck...
我向jetbrains提交了一张机票,但是我知道StackOverflow的功能:)
I submitted a ticket to jetbrains too, but i know the power of StackOverflow :)
我有一个MacBookPro 2015和JDK 1.8
I have a MacBookPro 2015 and JDK 1.8
推荐答案
IntelliJ的支持告诉我尝试使用捆绑的java的IDE。
The support from IntelliJ told me to try the IDE with bundled java.
http://download.jetbrains.com/idea/ideaIC-14.1.3-custom-jdk-bundled.dmg
它的作品!
编辑:
IntelliJ支持反馈:
问题是在 java.net.Inet4AddressImpl.getLocalHostName(Native Method)
JDK方法调用中有一个挂起,它会获取您的系统主机名。这是JDK问题或本地配置问题...
IntelliJ support feedback:
The problem was that there was a hang within java.net.Inet4AddressImpl.getLocalHostName(Native Method)
JDK method call, which gets your system hostname. This is either JDK problem or local configuration issue...
解决方案是这里。
The solution for this is here.
这篇关于IntelliJ在调试前冻结约30秒钟的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!