cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Michael Wirz <>
Subject Out Of Memory error using ResourceReader
Date Fri, 08 Apr 2005 13:28:20 GMT
Hello List,

when trying to serve big zip files through cocoon we encounter 
Our setup is as follows:

(default) reader definition:
 <map:readers default="resource">
    <map:reader logger="sitemap.reader.resource" name="resource" 
pool-max="32" src="org.apache.cocoon.reading.ResourceReader"/>

pipeline matching the request:
  <map:match pattern="*/downloads/special/*.zip">
      <map:read src="downloads/{1}/{2}.zip" mime-type="application/zip"/>

Does anyone know whether there's a filesize limitation?
Any work arounds other than increasing heap memory?
Is there a way to stream the binary (i.e. a StreamingReader or similar)?

Thanks in advance for help,

abs IT Service GmbH
Ein Unternehmen der abs Gruppe
Michael Wirz

Landsberger Stra├če 57
82266 Stegen am Ammersee

Telefon: +49-(0)8143-999-43
Telefax: +49-(0)8143-999-49

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message