eclipse.ini 的設定

本文介绍如何设置Eclipse IDE使用的Java虚拟机(JVM),包括指定JVM路径、设置最大内存使用等参数,还提供了多核CPU支持的相关选项。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

wiki上的說明:http://wiki.eclipse.org/Eclipse.ini

  1. Each option and each argument to an option must be on its own line.
  2. All lines after -vmargs are passed as arguments to the JVM, so all arguments and options for eclipse must be specified before -vmargs (just like when you use arguments on the command-line)

 

另外,為eclipse設置它使用的JVM才是我這次的目地:

-showsplash
org.eclipse.platform
--launcher.XXMaxPermSize
256m
-vm
C:\Java\JDK\1.5\bin\javaw.exe
-vmargs
-Xms40m
-Xmx512m
 

注意!-vm得在-vmargs之前,表示它不是給JVM的參數!

 

 

別人的設定:

-vmargs
-Xms128m
-Xmx512m
-XX:MaxPermSize=128m
-XX:+UseParallelGC --> 支援多核CPU的指令,單核的免加這行啦
-Dcom.sun.management.jmxremote

 

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值