You are viewing a plain text version of this content. The canonical link for it is here.
Posted to fop-users@xmlgraphics.apache.org by Kr...@aps.com on 2007/02/06 23:54:27 UTC

Out Of Memory Error

Hello All,

I am trying to convert a huge XML document(approx about 110 pages long,
777KB) into a pdf document using an FO transformation. But it gives me
the following error.

Exception in thread "main" java.lang.OutOfMemoryError

Can anybody guide me as to what is going wrong? Is there a limit on the
size of the document that can be transformed?If so , can it be
increased?

Thanks,
Sindhu 



Email Firewall made the following annotations
------------------------------------------------------------------------ NOTICE ---

This message is for the designated recipient only and may contain confidential, privileged or proprietary information. If you have received it in error, please notify the sender immediately and delete the original and any copy or printout. Unintended recipients are prohibited from making any other use of this e-mail. Although we have taken reasonable precautions to ensure no viruses are present in this e-mail, we accept no liability for any loss or damage arising from the use of this e-mail or attachments, or for any delay or errors or omissions in the contents which result from e-mail transmission.

---------------------------------------------------------------------

Re: Out Of Memory Error

Posted by Jay Bryant <ja...@bryantcs.com>.
Out Of Memory ErrorI routinely make much larger files (600+ pages with lots of images, so 6+ MB filesize). Try the items mentioned in the following link:

http://xmlgraphics.apache.org/fop/0.93/running.html#memory

I have also used FOP to make PDF files of more than 2,000 pages, but those didn't have images (they were data catalogs for a data warehouse).

Jay Bryant
Bryant Communication Services
  ----- Original Message ----- 
  From: Krishna.Cherla@aps.com 
  To: fop-users@xmlgraphics.apache.org 
  Sent: Tuesday, February 06, 2007 4:54 PM
  Subject: Out Of Memory Error


  Hello All, 

  I am trying to convert a huge XML document(approx about 110 pages long, 777KB) into a pdf document using an FO transformation. But it gives me the following error.

  Exception in thread "main" java.lang.OutOfMemoryError 

  Can anybody guide me as to what is going wrong? Is there a limit on the size of the document that can be transformed?If so , can it be increased?

  Thanks, 
  Sindhu 



  Email Firewall made the following annotations 
  ---------------------------------------------------------------------
  --- NOTICE --- 
  This message is for the designated recipient only and may contain confidential, privileged or proprietary information. If you have received it in error, please notify the sender immediately and delete the original and any copy or printout. Unintended recipients are prohibited from making any other use of this e-mail. Although we have taken reasonable precautions to ensure no viruses are present in this e-mail, we accept no liability for any loss or damage arising from the use of this e-mail or attachments, or for any delay or errors or omissions in the contents which result from e-mail transmission. 
  ---------------------------------------------------------------------


Re: Out Of Memory Error

Posted by Roland Neilands <rn...@pulsemining.com.au>.
Check the FAQ:
http://xmlgraphics.apache.org/fop/0.93/running.html#memory

Regards,
Roland 


Krishna.Cherla@aps.com wrote:
>
> Hello All,
>
> I am trying to convert a huge XML document(approx about 110 pages 
> long, 777KB) into a pdf document using an FO transformation. But it 
> gives me the following error.
>
> Exception in thread "main" java.lang.OutOfMemoryError
>
> Can anybody guide me as to what is going wrong? Is there a limit on 
> the size of the document that can be transformed?If so , can it be 
> increased?
>
> Thanks,
> Sindhu
>
>
> Email Firewall made the following annotations
> ---------------------------------------------------------------------
> --- NOTICE ---
> This message is for the designated recipient only and may contain 
> confidential, privileged or proprietary information. If you have 
> received it in error, please notify the sender immediately and delete 
> the original and any copy or printout. Unintended recipients are 
> prohibited from making any other use of this e-mail. Although we have 
> taken reasonable precautions to ensure no viruses are present in this 
> e-mail, we accept no liability for any loss or damage arising from the 
> use of this e-mail or attachments, or for any delay or errors or 
> omissions in the contents which result from e-mail transmission.
> ---------------------------------------------------------------------
>

---------------------------------------------------------------------
To unsubscribe, e-mail: fop-users-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org