cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Johannes Schaefer <johannes.schae...@uidesign.de>
Subject Re: java out of memory with OBJECT/quicktime movie
Date Mon, 15 Aug 2005 15:04:51 GMT

Johannes Schaefer schrieb:
> Hi!
> 
> I get an out-of-memory error for movies above a certain size
> (around 10MB):
>   15:18:41.906 WARN!! Error for .../movs/madagascar.mov
>   java.lang.OutOfMemoryError: Java heap space

OK,
here's steps 1 to 3 to "solve" this problem

1. set <parameter name="heapsize" value="512000000"/>
   in cocoon.xconf
2. set JAVA_OPTIONS="-Xmx256m"

Now we can have bigger movies in our app.

> 
> Smaller movies don't make problems.
> 
> How can I increase the heap size for Cocoon?
> 
> 
> If it is caching: Can I turn caching off only for the *.mov
> matcher?
>   <map:match pattern="**.mov">
>     <map:read src="{0}" mime-type="video/quicktime"/>
>   </map:match>

3. put the *mov match into a noncachable pipeline.

Now we can have more movies in our app.

Can I improve on this?

Johannes



-- 
User Interface Design GmbH * Teinacher Str. 38 * D-71634 Ludwigsburg
Fon +49 (0)7141 377 000 * Fax  +49 (0)7141 377 00-99
Geschäftsstelle: User Interface Design GmbH * Lehrer-Götz-Weg 11 * D-81825 München
www.uidesign.de

Buch "User Interface Tuning" von Joachim Machate & Michael Burmester
www.user-interface-tuning.de

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


Mime
View raw message