On Mon, 2005-08-15 at 15:22 +0200, Johannes Schaefer wrote:
> 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
>
> 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>
>
Have a look at this:
http://wiki.apache.org/cocoon/ServingLargeFiles
You indeed need to disable caching, but also configure reasonable
request output buffering.
--
Bruno Dumon http://outerthought.org/
Outerthought - Open Source, Java & XML Competence Support Center
[EMAIL PROTECTED] [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]