eclipse.ini is the configuration file used to control the Eclipse startup. We can configure Eclipse VM arguments such as JDK to be used (eclipse.ini vm), permgen space, maximum and minimum heap size using Xms, Xmx parameters.
eclipse.ini是用于控制Eclipse启动的配置文件。 我们可以使用Xms,Xmx参数配置要使用的Eclipse VM参数,例如JDK(eclipse.ini vm),permgen空间,最大和最小堆大小。
eclipe.ini文件位置 (eclipe.ini File Location)
For windows, it’s in the same directory as eclipse.exe file, as shown in below image.
对于Windows,它与eclipse.exe文件位于同一目录中,如下图所示。
For Mac OS X, it’s found inside the app. So if Eclipse app is in Downloads directory, eclipse.ini file location will be:
对于Mac OS X,可以在应用程序中找到它。 因此,如果Eclipse应用位于“下载”目录中,则eclipse.ini文件的位置将为:
pankaj$ cd ~/Downloads/Eclipse.app/Contents/Eclipse/
You can reach this location by first right clicking on Eclipse app and click on “Show Package Contents” and then in the next window navigate to Contents/