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>&nbsp;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 &quot;lzc&quot; command line, or by fetching a .lzx file from the LPS web server?&nbsp;</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">&lt;<a href="mailto:keiji_ono@net8.co.jp">keiji_ono@net8.co.jp</a>&gt;</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 &nbsp;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>
 &nbsp; &nbsp; [echo] &nbsp; &nbsp; Ant project:lps on Linux 2.6.26.6-49.fc8 i386<br>
 &nbsp; &nbsp; [echo] &nbsp; &nbsp; ant.home: /opt/workspace/openlaszlo/openlaszlo_trunk/lib/apache-ant-1.6.5<br>
 &nbsp; &nbsp; [echo] &nbsp; &nbsp; JRE: 1.5.0_14 (Sun Microsystems Inc.)<br>
 &nbsp; &nbsp; [echo] &nbsp; &nbsp; JAVA_HOME: /usr/local/java/jdk1.5.0_14<br>
 &nbsp; &nbsp; [echo] &nbsp; &nbsp; LPS Version: 4.2.x Latest<br>
 &nbsp; &nbsp; [echo] &nbsp; &nbsp; LPS_HOME: /opt/workspace/openlaszlo/openlaszlo_trunk/openlaszlo_trunk<br>
 &nbsp; &nbsp; [echo] &nbsp; &nbsp; LZ_VENDOR_ROOT: /opt/workspace/openlaszlo/openlaszlo_trunk/vendor<br>
 &nbsp; &nbsp; [echo] &nbsp; &nbsp; LZ_TOOLS_ROOT: /opt/workspace/openlaszlo/openlaszlo_trunk/tools/trunk<br>
 &nbsp; &nbsp; [echo] &nbsp; &nbsp; LZ_INSTALLS_ROOT: /opt/workspace/openlaszlo/openlaszlo_trunk/lib<br>
 &nbsp; &nbsp; [echo] &nbsp; &nbsp; server.home: /opt/workspace/openlaszlo/openlaszlo_trunk/lib/jakarta-tomcat-5.0.30<br>
 &nbsp; &nbsp; [echo] &nbsp; &nbsp; lps.branch: &nbsp;openlaszlo_trunk<br>
 &nbsp; &nbsp; [echo] &nbsp; &nbsp; platform: is &nbsp;unix<br>
 &nbsp; &nbsp; [echo] &nbsp; &nbsp; Skipping prefetch is true<br>
 &nbsp; &nbsp; [echo] &nbsp; &nbsp; Skipping wrappertest is ${skip.wrappertest}<br>
 &nbsp; &nbsp; [echo] &nbsp; &nbsp; Skipping doc is ${skip.doc}<br>
<br>
 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;:<br>
 &nbsp; &nbsp; [java] Stray error string from external compiler:<br>
 &nbsp; &nbsp; [java] compiler output:<br>
 &nbsp; &nbsp; [java] loading &quot;/opt/workspace/openlaszlo/openlaszlo_trunk/openlaszlo_trunk/WEB-INF/frameworks/flex-config.xml&quot;<br>
<br>
 &nbsp; &nbsp; [java] SEVERE ERROR: error: Java heap space<br>
 &nbsp; &nbsp; [java] SEVERE ERROR: java.lang.OutOfMemoryError: Java heap space<br>
 &nbsp; &nbsp; [java] FAIL: compiler returned 1<br>
 &nbsp; &nbsp; [java] Done executing compiler<br>
 &nbsp; &nbsp; [java] Intermediate file /tmp/lzswf9/lzgen3206/app.swc: does not exist<br>
 &nbsp; &nbsp; [java] Exception compiling scriptfile: org.openlaszlo.sc.CompilerError: SEVERE ERROR: eror: Java heap space<br>
 &nbsp; &nbsp; [java] SEVERE ERROR: java.lang.OutOfMemoryError: Java heap space<br>
 &nbsp; &nbsp; [java] org.openlaszlo.sc.CompilerException: org.openlaszlo.sc.CompilerError: SEVERE ERROR: error: Java heap space<br>
 &nbsp; &nbsp; [java] SEVERE ERROR: java.lang.OutOfMemoryError: Java heap space<br>
 &nbsp; &nbsp; [java] &nbsp; &nbsp; at org.openlaszlo.sc.Compiler.compile(Compiler.java:397)<br>
 &nbsp; &nbsp; [java] &nbsp; &nbsp; at org.openlaszlo.sc.lzsc.compile(lzsc.java:110)<br>
 &nbsp; &nbsp; [java] &nbsp; &nbsp; at org.openlaszlo.sc.lzsc.compile(lzsc.java:325)<br>
 &nbsp; &nbsp; [java] &nbsp; &nbsp; at org.openlaszlo.sc.Main.main(Main.java:10)<br>
 &nbsp; &nbsp; [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>