Thanks but I don't think that I'm using FOP. All I'm doing is trying to serve an existing pdf file: <map:pipeline> <map:match pattern="foo/**.pdf"> <map:read mime-type="application/pdf" src="foo/{1}.pdf"/> </map:match> </map:pipeline>
As an experiment I changed the mime type to text/plain and got the same result. Mike. On Thu, Apr 18, 2002 at 09:58:49PM +0200, J.Pietschmann wrote: > Mike Dewar wrote: > > Thanks for this suggestion, but I'm afraid it isn't the answer. When I > > say "larger PDF files" I mean over 150K, which is hardly huge. I tried > > setting the maximum java heap size to 100Mb anyway but it still didn't > > work. > > Cocoon uses FOP for rendering PDF, and it can really > gobble up unbelievable amounts of memory, even for > relatively small output. 500MB had been reported. It's > all depending on the complexity of the layout, size of > embedded graphics and so on. Check your logs, or try to > generate your PDF with the FOP command line tool. This > way you can spot FOP problems easier, and if the memory > shortge is the problem, you can experiment with memory > settings. > > J.Pietschmann > > > --------------------------------------------------------------------- > Please check that your question has not already been answered in the > FAQ before posting. <http://xml.apache.org/cocoon/faqs.html> > > To unsubscribe, e-mail: <[EMAIL PROTECTED]> > For additional commands, e-mail: <[EMAIL PROTECTED]> > > > _____________________________________________________________________ > This message has been checked for all known viruses by Star Internet > delivered through the MessageLabs Virus Scanning Service. For further > information visit http://www.star.net.uk/stats.asp or alternatively call > Star Internet for details on the Virus Scanning Service. _____________________________________________________________________ This message has been checked for all known viruses by Star Internet delivered through the MessageLabs Virus Scanning Service. For further information visit http://www.star.net.uk/stats.asp or alternatively call Star Internet for details on the Virus Scanning Service. --------------------------------------------------------------------- Please check that your question has not already been answered in the FAQ before posting. <http://xml.apache.org/cocoon/faqs.html> To unsubscribe, e-mail: <[EMAIL PROTECTED]> For additional commands, e-mail: <[EMAIL PROTECTED]>