Eclipse的崩溃上启动 [英] Eclipse Crashing on Startup
问题描述
每当我尝试启动Eclipse,载入画面出现约1秒钟,突然消失了。没有错误出现。我试图从命令提示符下运行它,同样的事情发生了,没有任何错误。然后,我试图做... /月食/的eclipse.exe -clean,它没有做任何事情。
Whenever I try to start eclipse, the Loading Screen comes up for about a second, and suddenly disappears. No errors come up. I tried running it from command prompt, and the same thing happened, with no errors. Then, I tried doing ".../eclipse/eclipse.exe -clean" and it didn't do anything.
感谢您的帮助。
推荐答案
此问题是因为写** **的eclipse.ini您日食提取文件夹内的信息发生
This problem is happening because of information written**eclipse.ini** inside your extracted eclipse folder
在的eclipse.ini原始数据
original data in eclipse.ini is
-startup
plugins/org.eclipse.equinox.launcher_1.3.0.v20130327-1440.jar
--launcher.library
plugins/org.eclipse.equinox.launcher.win32.win32.x86_64_1.1.200.v20140116-2212
-product
org.eclipse.epp.package.jee.product
--launcher.defaultAction
openFile
--launcher.XXMaxPermSize
256M
-showsplash
org.eclipse.platform
--launcher.XXMaxPermSize
256m
--launcher.defaultAction
openFile
--launcher.appendVmargs
-vmargs
-Dosgi.requiredJavaVersion=1.6
-Xms40m
-Xmx512m
下面Xmx512改变其大小,以1024为信息
change it size of Xmx512 to 1024 below is information
如果您收到错误java.lang.OutOfMemoryError:Java堆空间,同时运行Java应用程序,这意味着您的Java应用程序环境中没有足够的空间来存储需要为您的应用程序的值。这可能是因为以下原因:
错,你已经设置较少的内存为您的Java环境(或)
你epplication是巨大的,分配的内存是不够的,你的应用程序的大小
在这两种情况下,增加了存储器的大小是解决方案。您可以更新如下VM参数来解决这个问题。你必须选择应用程序和更新所需的值-Xms512m -Xmx1024M。而应用程序正在运行,这将解决这个问题。
If you get the error java.lang.OutOfMemoryError: Java heap space while running Java applications, it means that your Java application environment don’t have the sufficient space to store the values needed for your application. This could be because of the following reasons: By mistake, you have set the less memory for your Java environment (or) Your epplication is huge and allocated memory is not enough for your application’s size In the either case, increasing the size of the memory is the solution. You can update the VM arguments as below to fix this issue. You have to select the application and update the required value as -Xms512M -Xmx1024M. This would resolve the problem while that application is running.
也删除您的工作区的.metadata文件,您的问题将得到解决
这篇关于Eclipse的崩溃上启动的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!