How do I set ANT_OPTS under eclipse?

对着背影说爱祢 提交于 2019-12-11 02:38:05

问题


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?

Thanks.


回答1:


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.



来源:https://stackoverflow.com/questions/4156147/how-do-i-set-ant-opts-under-eclipse

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!