There are a couple of options to try.<div><br></div><div>1) Are you compiling a swf9 program? If so, make sure that in WEB-INF/lps/config/lps.properties</div><div> that</div><div><br></div><div>compiler.swf9.execflex=true</div>
<div><br></div><div>That will execute the Flex compiler in a separate process, which will use less heap space in the</div><div>main Laszlo compiler process.</div><div><br></div><div>2) Make sure your JAVA_OPTS has at least 1024M specified for heap space, and more if possible</div>
<div><br></div><div>-Xmx1024M<br></div><div><br></div><div>How are you invoking the compiler? From "lzc" command line, or by fetching a .lzx file from the LPS web server? </div><div><br></div><div><br></div><div>
<br></div><div><br></div><div><br><div class="gmail_quote">On Sat, Nov 29, 2008 at 6:41 AM, ono keiji <span dir="ltr"><<a href="mailto:keiji_ono@net8.co.jp">keiji_ono@net8.co.jp</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
If this mail has been gotten multi-post, but my previous mails looks like undelivered.<br>
<br>
I got a out of memory error in building with rev11923.<br>
It was same as the report by Andre in July.<br>
Any advice?<br>
<br>
build-opt:<br>
<br>
init:<br>
[echo] Ant project:lps on Linux 2.6.26.6-49.fc8 i386<br>
[echo] ant.home: /opt/workspace/openlaszlo/openlaszlo_trunk/lib/apache-ant-1.6.5<br>
[echo] JRE: 1.5.0_14 (Sun Microsystems Inc.)<br>
[echo] JAVA_HOME: /usr/local/java/jdk1.5.0_14<br>
[echo] LPS Version: 4.2.x Latest<br>
[echo] LPS_HOME: /opt/workspace/openlaszlo/openlaszlo_trunk/openlaszlo_trunk<br>
[echo] LZ_VENDOR_ROOT: /opt/workspace/openlaszlo/openlaszlo_trunk/vendor<br>
[echo] LZ_TOOLS_ROOT: /opt/workspace/openlaszlo/openlaszlo_trunk/tools/trunk<br>
[echo] LZ_INSTALLS_ROOT: /opt/workspace/openlaszlo/openlaszlo_trunk/lib<br>
[echo] server.home: /opt/workspace/openlaszlo/openlaszlo_trunk/lib/jakarta-tomcat-5.0.30<br>
[echo] lps.branch: openlaszlo_trunk<br>
[echo] platform: is unix<br>
[echo] Skipping prefetch is true<br>
[echo] Skipping wrappertest is ${skip.wrappertest}<br>
[echo] Skipping doc is ${skip.doc}<br>
<br>
:<br>
[java] Stray error string from external compiler:<br>
[java] compiler output:<br>
[java] loading "/opt/workspace/openlaszlo/openlaszlo_trunk/openlaszlo_trunk/WEB-INF/frameworks/flex-config.xml"<br>
<br>
[java] SEVERE ERROR: error: Java heap space<br>
[java] SEVERE ERROR: java.lang.OutOfMemoryError: Java heap space<br>
[java] FAIL: compiler returned 1<br>
[java] Done executing compiler<br>
[java] Intermediate file /tmp/lzswf9/lzgen3206/app.swc: does not exist<br>
[java] Exception compiling scriptfile: org.openlaszlo.sc.CompilerError: SEVERE ERROR: eror: Java heap space<br>
[java] SEVERE ERROR: java.lang.OutOfMemoryError: Java heap space<br>
[java] org.openlaszlo.sc.CompilerException: org.openlaszlo.sc.CompilerError: SEVERE ERROR: error: Java heap space<br>
[java] SEVERE ERROR: java.lang.OutOfMemoryError: Java heap space<br>
[java] at org.openlaszlo.sc.Compiler.compile(Compiler.java:397)<br>
[java] at org.openlaszlo.sc.lzsc.compile(lzsc.java:110)<br>
[java] at org.openlaszlo.sc.lzsc.compile(lzsc.java:325)<br>
[java] at org.openlaszlo.sc.Main.main(Main.java:10)<br>
[java] Compilation aborted.<br><font color="#888888">
<br>
<br>
<br>
ono keiji<br>
<a href="mailto:ono@net8.co.jp" target="_blank">ono@net8.co.jp</a><br>
</font></blockquote></div><br><br clear="all"><br>-- <br>Henry Minsky<br>Software Architect<br><a href="mailto:hminsky@laszlosystems.com">hminsky@laszlosystems.com</a><br><br><br>
</div>