最近idea总是莫名其妙的卡死
idea吧
全部回复
仅看楼主
level 1
瑷在左右 楼主
有时候随便点一下就卡死了,有时候长时间不动,动一下就卡死了,你们有这个问题吗?
2016年08月20日 01点08分 1
level 1
瑷在左右 楼主
给官方发了一份邮件,解决了这个问题,现在就是结帖。
IDEA常常无故卡死的问题。
官方说明
线程转储可以帮助识别IDE性能问题时,锁定和用户界面没有响应。
转储应该正好在此刻采取IDE时没有反应,并会记录线程堆栈。在记录多个线程用1-2秒的间隔转储可也对这个问题的分析非常有用的。
Windows
Use the .bat file named for the product and located in IDE_HOME\bin directory (idea.bat, phpstorm.bat, webstorm.bat, pycharm.bat, rubymine,bat).
Press Ctrl+Break (NOT Ctrl+C) in the console to take a thread dump. Dumps can be long, running with output redirection to a file is recommended, like:
idea.bat > output.txt
You can record several dumps in the same file by pressing Ctrl+Break multiple times.
Mac OS X
Browse to the /Applications/<PRODUCT>.app/Contents/MacOS/<product> executable inFinder, in the context menu choose Open With, Terminal. To get a thread dump pressCtrl+\ in the Terminal window.
Linux, Solaris, Generic Unix
Start the IDE from the terminal using the .sh script in the product bin directory. Start another terminal, find the IDE java process ID using jps, ps or your other favorite process manager. Send the QUIT signal to the IDE process:
kill -QUIT <PID>
Thread dump should be printed into the first terminal window from where IDE was started. Use process output to a file redirection to capture long dumps
除了上述办法,还可以这样
打开help————edit custom vm————
修改xmx的值
尽量大点,比如1024,2048等
修改为重启,再次查看是否修改成功,如果没有再来一次
2016年08月21日 11点08分 2
level 1
可以的 mark一个
2019年03月11日 06点03分 3
1