I did have "heap out of memory" issues with SL. To workaround them we
use this system properties.

For embedded jetty (mvn jetty:run): export MAVEN_OPTS="-Xms256m
-Xmx1024m -XX:PermSize=1024m -XX:MaxPermSize=1024m"
For tomcat: export JAVA_OPTS="-Xms1024m -Xmx1024m -XX:MaxPermSize=256m
-XX:+CMSClassUnloadingEnabled -Djava.awt.headless=true"


Cheers.
Alejandro.

On Tue, Apr 13, 2010 at 9:08 AM, Angelo Chen <angelochen...@yahoo.com.hk> wrote:
>
> Hi,
>
> I moved recently from Tiger to Snow Leopard and try to make my T5 app works,
> here is what I encountered:
>
> 1) in a newly installed Snow Leopard with default Java installation(1.6 64
> bits)
>
> T5 app compiles and works well, but got 'heap out of memory' when using
> Java's JAI to process some images.
>
> 2) set the Java 1.6 to 32 bit mode, got the same problem
>
>
> 3) installed Java 1.5 from Leopard, same problem
>
> 4) replaced the JAI extension from Tiger, same problem.
>
> If I run the same program with same memory setting in Tiger, it simply
> works.
>
> any idea how to setup Snow Leopard's Java to be fully compatible with T5?
>
> Thanks,
>
> Angelo
> --
> View this message in context: 
> http://old.nabble.com/T5%3A-develop-t5-app-in-Snow-Leopard-tp28219422p28219422.html
> Sent from the Tapestry - User mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
> For additional commands, e-mail: users-h...@tapestry.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org

Reply via email to