Laan's steps..

Feed Rss

ant编译内存不够问题解决方案

09.22.2011, flex, by .

一般这样即可:
<java jar=”${MXMLC.JAR}” fork=”true” failonerror=”true” maxmemory=”512m”>

不过使用Flex task的话又没有该参数项,可以这样设置:
from:http://soenkerohde.com/2008/06/change-eclipse-ant-settings-when-you-run-out-of-memory/
In Flex open menu: Run->External Tools->Open External Tools Dialog…
Select the build script you want to change on the left
Select the JRE tab on the right
Set the following as VM arguments: -Xms768m -Xmx1024m -XX:MaxPermSize=512m
These values work for me but you might want to change it to match your environment and project size.

发表评论

电子邮件地址不会被公开。 必填项已用 * 标注

*

您可以使用这些 HTML 标签和属性: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>