The standard jetty.sh doesn't explicitly set JVM memory settings.  It relies
on default JVM ergonomics (
http://java.sun.com/j2se/1.5.0/docs/guide/vm/gc-ergonomics.html).

You can explicitly set your memory requirements in ~/.jettyrc, e.g.,

#!/bin/sh
JAVA_OPTIONS="-noverify -javaagent:$JREBEL_HOME/jrebel.jar
-Dorg.mortbay.util.FileResource.checkAliases=false -Xmx1024m"

alex


On Fri, Jan 8, 2010 at 5:12 PM, Neil.Lv <[email protected]> wrote:

> Hi all,
>
>  I have a silly question about the memory of the jetty.
>
>  How many the memory are assigned by default when starting the Jetty
> server?
>
>  There is a problem that I do some operation for about 30 minutes,
> then the jetty was crashed.
>  The error message is that the memoryOutOfBound ....
>
>  I use this command to start the jetty server:
> ###
>  /jetty/jetty.sh start
> ###
>
> Cheers,
>   Neil
>
> --
> You received this message because you are subscribed to the Google Groups
> "Lift" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to
> [email protected]<liftweb%[email protected]>
> .
> For more options, visit this group at
> http://groups.google.com/group/liftweb?hl=en.
>
>
>
>
--
You received this message because you are subscribed to the Google Groups "Lift" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to [email protected].
For more options, visit this group at http://groups.google.com/group/liftweb?hl=en.

Reply via email to