开发者

Launching eclipse from command line with explicit vmargs ignores vmargs in eclipse.ini

I have some vmargs that need to be added to a command line launcher of Eclipse, but when I do so, the vmargs that are in the eclipse.ini file are ignored.

For example, if I launch Eclipse like this:

eclipse -vmargs -Dmy.sys.prop=true

Then, Eclipse will launch with the JVM default settings for Xmx, Xms, and permgen space. This means that Eclipse will quickly start thrashing memory and be unusable.

I know that I could copy开发者_如何学Python all entries in eclipse.ini into a command line launcher, but I'd rather not do this (confusing and a pain for users).

How can I get an eclipse launch to respect both eclipse.ini and command line arguments?


skip the -vmargs if you want just system properties to be set.

eg :

Launching eclipse from command line with explicit vmargs ignores vmargs in eclipse.ini

and what I get on the eclipse config matches with what I set in eclipse.ini .

Launching eclipse from command line with explicit vmargs ignores vmargs in eclipse.ini

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜