Make that -Xmx1024m  , and if that does not solve it, you should try to set
this configuration in the  lps config  file
(WEB-INF/lps/config/lps.properties) "compiler.swf9.execflex=true"
Sometimes there are configuration issues with execflex=true, because it
depends on the files in WEB-INF/bin to be marked as executable, and
sometimes the ant distribution builder does not do this properly. If they
are not executable, you can set them to be executable with "chmod a+x
WEB-INF/bin/*".





2008/12/2 ono keiji <[EMAIL PROTECTED]>

> It depend on Tomcat environment than is 5.0.30, and it is '-Xmx512m
> -Xms256'.
>
> ono keiji
>
> J Crowley さんは��きました:
> > What're you setting your $JAVA_OPTS to?
> >
> > On Thu, Nov 27, 2008 at 9:35 PM, ono keiji <[EMAIL PROTECTED]
> > <mailto:[EMAIL PROTECTED]>> wrote:
> >
> >     Again in building with rev11917.
> >     Any suggestion?
> >
> >
> >     build-opt:
> >
> >     init:
> >         [echo]     Ant project:lps on Linux 2.6.26.6-49.fc8 i386
> >         [echo]     ant.home:
> >     /opt/workspace/openlaszlo/openlaszlo_trunk/lib/apache-ant-1.6.5
> >         [echo]     JRE: 1.5.0_14 (Sun Microsystems Inc.)
> >         [echo]     JAVA_HOME: /usr/local/java/jdk1.5.0_14
> >         [echo]     LPS Version: 4.2.x Latest
> >         [echo]     LPS_HOME:
> >     /opt/workspace/openlaszlo/openlaszlo_trunk/openlaszlo_trunk
> >         [echo]     LZ_VENDOR_ROOT:
> >     /opt/workspace/openlaszlo/openlaszlo_trunk/vendor
> >         [echo]     LZ_TOOLS_ROOT:
> >     /opt/workspace/openlaszlo/openlaszlo_trunk/tools/trunk
> >         [echo]     LZ_INSTALLS_ROOT:
> >     /opt/workspace/openlaszlo/openlaszlo_trunk/lib
> >         [echo]     server.home:
> >     /opt/workspace/openlaszlo/openlaszlo_trunk/lib/jakarta-tomcat-5.0.30
> >         [echo]     lps.branch:  openlaszlo_trunk
> >         [echo]     platform: is  unix
> >         [echo]     Skipping prefetch is true
> >         [echo]     Skipping wrappertest is ${skip.wrappertest}
> >         [echo]     Skipping doc is ${skip.doc}
> >
> >                         :
> >
> >         [java] compiler output is loading
> >
> "/opt/workspace/openlaszlo/openlaszlo_trunk/openlaszlo_trunk/WEB-INF/frameworks/flex-config.xml"
> >
> >         [java] Stray error string from external compiler:
> >         [java] compiler output:
> >         [java] loading
> >
> "/opt/workspace/openlaszlo/openlaszlo_trunk/openlaszlo_trunk/WEB-INF/frameworks/flex-config.xml"
> >
> >         [java] SEVERE ERROR: error: Java heap space
> >         [java] SEVERE ERROR: java.lang.OutOfMemoryError: Java heap space
> >         [java] FAIL: compiler returned 1
> >         [java] Done executing compiler
> >         [java] Intermediate file /tmp/lzswf9/lzgen5250/app.swc: does not
> >     exist
> >         [java] Exception compiling scriptfile:
> >     org.openlaszlo.sc.CompilerError: SEVERE ERROR: error: Java heap space
> >
> >         [java] SEVERE ERROR: java.lang.OutOfMemoryError: Java heap space
> >         [java] org.openlaszlo.sc.CompilerException:
> >     org.openlaszlo.sc.CompilerError: SEVERE ERROR: error: Java heap space
> >         [java] SEVERE ERROR: java.lang.OutOfMemoryError: Java heap space
> >         [java]     at
> org.openlaszlo.sc.Compiler.compile(Compiler.java:397)
> >         [java]     at org.openlaszlo.sc.lzsc.compile(lzsc.java:110)
> >         [java]     at org.openlaszlo.sc.lzsc.compile(lzsc.java:325)
> >         [java]     at org.openlaszlo.sc.Main.main(Main.java:10)
> >         [java] Compilation aborted.
> >
> >
> >
> >
> >
> >
> >     Henry Minsky さんは��きました:
> >
> >         I got a server  auto-restart email a couple minutes after Andre
> >         sent his mail, so the server
> >         was reset by the monitoring script.
> >         On Tue, Jul 22, 2008 at 5:09 PM, André Bargull
> >         <[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>
> >         <mailto:[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>>>
> >         wrote:
> >
> >            Now it's gone.
> >            (Just tested some stuff on lps3.)
> >
> >
> >
> >            On 7/22/2008 11:05 PM, mdavis wrote:
> >
> >                André Bargull wrote:
> >
> >                    I've used this link:
> >
> >
> http://openlaszlo.org/lps3/laszlo-explorer/editor.jsp?src=docs/guide/programs/laszlo_basics-$1.lzx
> >
> >
> >
> >
> >                I'm not getting an OOM on this page
> >
> >                But, lps3 is a bit out of date...
> >
> >                ~md
> >
> >
> >
> >
> >                    On 7/22/2008 9:23 PM, André Bargull wrote:
> >
> >
> >
> >
> >                             HTTP Status 500 -
> >
> >
> >
>  ------------------------------------------------------------------------
> >
> >
> >                            *type* Exception report
> >
> >                            *message*
> >
> >                            *description* _The server encountered an
> internal
> >                            error () that prevented it from fulfilling
> this
> >                            request._
> >
> >                            *exception*
> >
> >                            javax.servlet.ServletException: Servlet
> execution
> >                            threw an exception
> >                             *root cause*
> >
> >                            java.lang.OutOfMemoryError: Java heap space
> >                             *note* _The full stack trace of the root
> >         cause is
> >                            available in the Apache Tomcat/5.0.28 logs._
> >
> >
> >
>  ------------------------------------------------------------------------
> >
> >
> >
> >                                 Apache Tomcat/5.0.28
> >
> >
> >
> >
> >                        On 7/22/2008 9:23 PM, André Bargull wrote:
> >
> >                            The "openlaszlo.org <http://openlaszlo.org>
> >         <http://openlaszlo.org>"-tomcat
> >                            is out of memory:
> >
> >
> >
> >                                 Compilation Errors
> >
> >                                |out of memory|
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >         --
> >         Henry Minsky
> >         Software Architect
> >         [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>
> >         <mailto:[EMAIL PROTECTED]
> >         <mailto:[EMAIL PROTECTED]>>
> >
> >
>



-- 
Henry Minsky
Software Architect
[EMAIL PROTECTED]

Reply via email to