开发者

Give eclipse more heap space for compiling projects?

I'm trying to compile really large program in eclipse (inherited it). When attempting to build the project, I get an out of heap space exception, so I can't ever compile it completely.

Can I update the max amount of heap available to eclipse? This faq says I can put this in the ini file (or at least I'm interpreting it that way):

-Xmx512m

to give it more heap memory. Is this correct? I'm开发者_运维百科 using 3.5, galileo. I don't see any -Xmx256m type parameters in my eclipse ini file to begin with, so not sure if this is correct.

Thanks


Simply add -Xmx512m in the ini file on new line in the end.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜