eclipse.ini vm参数– eclipse.ini文件位置Mac,Windows

本文介绍了eclipse.ini文件的作用,它是Eclipse启动的配置文件,用于设置JDK路径、permgen空间和堆空间。在Mac和Windows中,eclipse.ini文件的位置不同。通过调整-vmargs后的JVM参数,如-XX:MaxPermSize和-Xms、-Xmx,可以解决内存不足问题。对于Java 8及更高版本,不再有Permgen空间,但需要关注堆空间的配置。
摘要由CSDN通过智能技术生成

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/

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值