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 Meier Reto <Re...@bison-group.com> on 2003/06/25 12:21:35 UTC
Large XML Files and FOP: Out of Memory Exception
hi all,
i'm trying to use large xml file to create a tabel in pdf format. the
xml contains about 40'000 nodes:
<item>
<Field name="Viw#">abaqq</Field>
<Field name="Entfld#">8zcyx</Field>
<Field name="Sequence">10</Field>
<Field name="Dgn#"/>
<Field name="Val#validate"/>
<Field name="Systemhidden">N</Field>
<Field name="Prefix"/>
<Field name="entfldFldName">Rulobj#</Field>
<Field name="entfldFldImplname">RULOBJITMRULOBJ#</Field>
<Field name="entfldRelpth#"/>
<Field name="entfldMandatory">Y</Field>
<Field name="entfldFldIschangecounter">N</Field>
<Field name="entfldFldIsdatapoolid">N</Field>
<Field name="entfldFldChgcnt">33</Field>
<Field name="entfldFldCategory">2</Field>
<Field name="entfldFldFld#domain">8zfnz</Field>
<Field name="entfldFldJavabasictype"/>
<Field name="entfldFldJavadomclass"/>
<Field name="entfldFldSqlbasictype">VARCHAR2</Field>
<Field name="entfldFldPrecision"/>
<Field name="entfldFldLength"/>
<Field name="entfldFldEnumerated">N</Field>
<Field name="entfldFldFreefieldlangdep">N</Field>
<Field name="entfldFldVal#validate"/>
<Field name="entfldDbr#"/>
<Field name="entfldSubtype">N</Field>
<Field name="entfldChgcnt">2</Field>
<Field name="entfldEnt#">8zcyh</Field>
<Field name="entfldFld#">8zcyv</Field>
<Field name="entfldForeignkey">Y</Field>
<Field name="entfldPrimarykey">N</Field>
<Field name="entfldNaturalkey">Y</Field>
<Field name="viwBasviw#">abaqo</Field>
<Field name="viwType">S</Field>
<Field name="entfldFldFlagsmartdefault">0</Field>
<Field name="entfldFldPrompttype"/>
<Field name="entfldFldBasviw#foreignkeynk"/>
<Field name="#">abaqz</Field>
<Field name="Chgcnt">0</Field>
</item>
i tried to use the example xml2pdf or i implemented a version obj2pdf.
but always there is a out of memory exception.
has someone an idea how to process large datasets with fop.
thanks,
reto meier
Re: Large XML Files and FOP: Out of Memory Exception
Posted by Jeremias Maerki <de...@greenmail.ch>.
Here's our gathered knowledge about handling big files:
http://xml.apache.org/fop/running.html#memory
I'm certain you'll find your answers there. If not, try searching the
mailing list archives and ask again if you are still not successful
after that.
I hope that helps.
On 25.06.2003 12:21:35 Meier Reto wrote:
> i'm trying to use large xml file to create a tabel in pdf format. the
> xml contains about 40'000 nodes:
<snip/>
> i tried to use the example xml2pdf or i implemented a version obj2pdf.
> but always there is a out of memory exception.
>
> has someone an idea how to process large datasets with fop.
Jeremias Maerki
---------------------------------------------------------------------
To unsubscribe, e-mail: fop-user-unsubscribe@xml.apache.org
For additional commands, e-mail: fop-user-help@xml.apache.org
RE: Large XML Files and FOP: Out of Memory Exception
Posted by Torsten Erler <To...@net-linx.com>.
Try to increase the memory size like below:
javaw -Xmx256m -Xms150m %CLASSPATH% ...
cu Torsten
-----Original Message-----
From: Meier Reto [mailto:Reto.Meier@bison-group.com]
Sent: Mittwoch, 25. Juni 2003 12:22
To: fop-user@xml.apache.org
Subject: Large XML Files and FOP: Out of Memory Exception
hi all,
i'm trying to use large xml file to create a tabel in pdf format. the xml
contains about 40'000 nodes:
<item>
<Field name="Viw#">abaqq</Field>
<Field name="Entfld#">8zcyx</Field>
<Field name="Sequence">10</Field>
<Field name="Dgn#"/>
<Field name="Val#validate"/>
<Field name="Systemhidden">N</Field>
<Field name="Prefix"/>
<Field name="entfldFldName">Rulobj#</Field>
<Field name="entfldFldImplname">RULOBJITMRULOBJ#</Field>
<Field name="entfldRelpth#"/>
<Field name="entfldMandatory">Y</Field>
<Field name="entfldFldIschangecounter">N</Field>
<Field name="entfldFldIsdatapoolid">N</Field>
<Field name="entfldFldChgcnt">33</Field>
<Field name="entfldFldCategory">2</Field>
<Field name="entfldFldFld#domain">8zfnz</Field>
<Field name="entfldFldJavabasictype"/>
<Field name="entfldFldJavadomclass"/>
<Field name="entfldFldSqlbasictype">VARCHAR2</Field>
<Field name="entfldFldPrecision"/>
<Field name="entfldFldLength"/>
<Field name="entfldFldEnumerated">N</Field>
<Field name="entfldFldFreefieldlangdep">N</Field>
<Field name="entfldFldVal#validate"/>
<Field name="entfldDbr#"/>
<Field name="entfldSubtype">N</Field>
<Field name="entfldChgcnt">2</Field>
<Field name="entfldEnt#">8zcyh</Field>
<Field name="entfldFld#">8zcyv</Field>
<Field name="entfldForeignkey">Y</Field>
<Field name="entfldPrimarykey">N</Field>
<Field name="entfldNaturalkey">Y</Field>
<Field name="viwBasviw#">abaqo</Field>
<Field name="viwType">S</Field>
<Field name="entfldFldFlagsmartdefault">0</Field>
<Field name="entfldFldPrompttype"/>
<Field name="entfldFldBasviw#foreignkeynk"/>
<Field name="#">abaqz</Field>
<Field name="Chgcnt">0</Field>
</item>
i tried to use the example xml2pdf or i implemented a version obj2pdf.
but always there is a out of memory exception.
has someone an idea how to process large datasets with fop.
thanks,
reto meier