如何设置eclipse下ANT_OPTS? [英] How do I set ANT_OPTS under eclipse?
本文介绍了如何设置eclipse下ANT_OPTS?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
当我建立在Eclipse中蚂蚁的应用程序。我遇到java.lang.OutOfMemoryError:Java堆空间。
如何设置ANT_OPTS下月食?
When I build an application with ant in eclipse . I met java.lang.OutOfMemoryError: Java heap space. How do I set ANT_OPTS under eclipse?
感谢。
推荐答案
当你用鼠标右键单击的build.xml
,选择Ant构建...(用省略)。这将打开运行配置对话框,你就可以在JRE选项卡指定内存参数。
When you right-click build.xml
, select "Ant Build..." (with the ellipsis). This will bring up the run configuration dialog, and you'll be able to specify the memory arguments in the "JRE" tab.
这篇关于如何设置eclipse下ANT_OPTS?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文