How do I set ANT_OPTS under eclipse?
When I build an application with ant in ecl开发者_如何学Cipse . I met java.lang.OutOfMemoryError: Java heap space. How do I set ANT_OPTS under eclipse?
Thanks.
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.
精彩评论