eclipse下如何设置ANT_OPTS? [英] How do I set ANT_OPTS under eclipse?

查看:30
本文介绍了eclipse下如何设置ANT_OPTS?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当我在 Eclipse 中使用 ant 构建应用程序时.我遇到了 java.lang.OutOfMemoryError: Java heap space.eclipse下如何设置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 Build..."(带省略号).这将打开运行配置对话框,您将能够在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屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆