Is the XSL file causing a loop?  Files of this size should be OK.
 
ie: do you use recursive templates:
 
<xsl:call-template name="a"/>
 
<xsl:template name="a">
    .......output stuff
   
    <xsl:call-template name="a"/>
</xsl:template>
 
will cause OutOfMemory. 
 
Otherwise, look at the java -X options for increasing the maximum memory available to java - it defaults fairly low.
 
Alistair
 
 -----Original Message-----
From: Alessandro Bicocchi [mailto:[EMAIL PROTECTED]]
Sent: 20 May 2002 11:38
To: [EMAIL PROTECTED]
Subject: Error conversion XML to PDF: Exception in thread main java.lang.OutOfMemoryError

My name is Alessandro Bicocchi, I works in Bonfiglioli Riduttori (Italy).
 
We create an XML file in ASCII of a size 1 MB (the file XML is an order of 300 rows), when I launch Fop-parser (fop0.20.3) to converte XML to PDF using XSL: the parser stops when it processes the 28 row with this message:
"Exception in thread "main" java.lang.OutOfMemoryError".
My system is WinNt 4.0 Server, If you could help me solve the problem in some way, I will be greatful.
 
Thank you very much,
 
Ing. Alessandro Bicocchi 
 

Reply via email to