[Laszlo-dev] Out of memory
Henry Minsky
hminsky at laszlosystems.com
Tue Dec 2 06:04:08 PST 2008
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 <keiji_ono at net8.co.jp>
> 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 <keiji_ono at net8.co.jp
> > <mailto:keiji_ono at net8.co.jp>> 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
> > <a.bargull at intensis.de <mailto:a.bargull at intensis.de>
> > <mailto:a.bargull at intensis.de <mailto:a.bargull at intensis.de>>>
> > 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
> > hminsky at laszlosystems.com <mailto:hminsky at laszlosystems.com>
> > <mailto:hminsky at laszlosystems.com
> > <mailto:hminsky at laszlosystems.com>>
> >
> >
>
--
Henry Minsky
Software Architect
hminsky at laszlosystems.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.openlaszlo.org/pipermail/laszlo-dev/attachments/20081202/5a28afce/attachment-0001.html
More information about the Laszlo-dev
mailing list