cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Erwin <>
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. <>

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

View raw message