cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Erwin <erw...@supermachien.kotnet.org>
Subject Re: Problems serving pdf files
Date Mon, 15 Apr 2002 19:08:11 GMT
On Mon, 15 Apr 2002, Mike Dewar wrote:

> For small files this works fine, but larger pdf files get truncated to
> 122880 bytes.  Can anybody tell me what I'm doing wrong and suggest a
> fix?
>
My guess is that java then takes up the maximum allowed heapsize. If you
check to logs, you will probably find java.lang.OutOfMemoryError's.

You will have to make some changes to your startup-files to increase the
maximum allowed heapspace. IIRC you have to use the -Xmx<size> option. You
can get a list of these extended options by executing 'java -X' (without
the quotes).

Hope this helps.


---------------------------------------------------------------------
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: <cocoon-users-unsubscribe@xml.apache.org>
For additional commands, e-mail: <cocoon-users-help@xml.apache.org>


Mime
View raw message