且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

IntelliJ IDEA在启动时崩溃,插件错误

更新时间:2023-01-24 21:57:51

事实证明,这是由OS X Yosemite的不同方式造成的设置最大打开文件限制。这通过查看〜/ Library / Logs / IntelliJIdea14变得清晰,我看到:

It turns out that this was caused by OS X Yosemite's different way of setting the max open files limit. This became clear by looking at ~/Library/Logs/IntelliJIdea14, where I saw:

java.io.FileNotFoundException: /Applications/IntelliJ IDEA 14.app/Contents/plugins/devkit/lib/devkit.jar (Too many open files)

它是通过添加/Library/LaunchDaemons/limit.maxfiles.plist文件修复的,如 http://docs.basho.com/riak/latest/ops/tuning/open-files-limit/#Mac-OS-X

It was fixed by adding a /Library/LaunchDaemons/limit.maxfiles.plist file as described on http://docs.basho.com/riak/latest/ops/tuning/open-files-limit/#Mac-OS-X.