Intellij IDEA将无法启动 [英] Intellij IDEA won't start

查看:2373
本文介绍了Intellij IDEA将无法启动的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当我打开Intellij 14时,它开始初始加载,然后屏幕上显示以下内容。之后它消失了,程序没有启动。

When I open Intellij 14 , it starts the initial loading and then following is shown in the screen.After that it is vanished and program does not start.

< a href =https://i.stack.imgur.com/UnuyP.png>

但是当我打开任务管理器时,它会显示在进程中,如下图所示。

But when I open the task manager it is shown in the Processes as per the below figure.

有时程序会在大约10分钟后启动。有时它根本无法启动。有人可以给我一个解决方案如何解决这个问题?

Sometimes the program starts after about 10 minutes .Sometimes it won't start at all.Can someone give me a solution on how to overcome this problem ?

推荐答案

就像汤姆一样,当IntelliJ问及后悔时,我也增加了内存。这是要求它的屏幕:

Just like Tom, I too have increased the memory when IntelliJ asked and regretted it. This is the screen that asked for it:

但是,在我的情况下,而不是编辑 bin 文件夹中的 .vmoptions 文件,IntelliJ在我的<$ c $中创建了一个新文件c> home 目录,我只能假设覆盖 bin 文件夹中的目录。我认为这是典型的新版本 - 我现在正在使用IntelliJ 2016.1。

However, in my case, instead of editing the .vmoptions files in the bin folder, IntelliJ created a new one in my home directory which I can only assume overrides the ones in the bin folder. I would assume this is typical of the new versions - I am using IntelliJ 2016.1 right now.

因此,为了解决这个问题,请转到 C:\ Users \< your_username> \.IntelliJIdea< version> \ (或您的操作系统等效)和删除 idea.exe.vmoptions 和/或 idea64.exe.vmoptions 来自那里的文件。这应该删除覆盖并让IntelliJ使用 bin 文件夹中的设置。

So, in order to fix this issue, go to C:\Users\<your_username>\.IntelliJIdea<version>\ (or your OS' equivalent) and delete the idea.exe.vmoptions and/or idea64.exe.vmoptions file from there. This should remove the override and have IntelliJ use the settings in the bin folder.

可能值得检查如果IntelliJ更改了处理这些设置的方式,也可以使用 bin 文件夹中的文件。

It might be worth checking the files in the bin folder as well, in case IntelliJ changes how it handles these settings.

以下是安装的 bin 文件夹中的默认 .vmoptions 文件;你无法删除这些因为它会阻止IntelliJ启动:

Here are the default .vmoptions files in the installation's bin folder; you can't delete these as it will prevent IntelliJ from starting:

bin / idea.exe.vmoptions:

-server
-Xms128m
-Xmx512m
-XX:MaxPermSize=250m
-XX:ReservedCodeCacheSize=150m
-ea
-Dsun.io.useCanonCaches=false
-Djava.net.preferIPv4Stack=true
-Djsse.enableSNIExtension=false
-XX:+UseConcMarkSweepGC
-XX:SoftRefLRUPolicyMSPerMB=50

bin / idea64.exe.vmoptions

-Xms128m
-Xmx750m
-XX:MaxPermSize=350m
-XX:ReservedCodeCacheSize=225m
-ea
-Dsun.io.useCanonCaches=false
-Djava.net.preferIPv4Stack=true
-Djsse.enableSNIExtension=false
-XX:+UseConcMarkSweepGC
-XX:SoftRefLRUPolicyMSPerMB=50

这篇关于Intellij IDEA将无法启动的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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