On Thu, 16 Aug 2007, Nicolas Baumann wrote:
hello,
I'm having a problem with a large xml flow with fop, generating an OutOfMemory
exception.
i'm currently doing this :
Source src = new StreamSource(new ByteArrayInputStream(xml.toByteArray()));
What is "xml"? A string? If you already have
den 16. August 2007, 16:30:07 Uhr
Betreff: OutOfMemory problem
hello,
I'm having a problem with a large xml flow with fop, generating an OutOfMemory
exception.
i'm currently doing this :
Source src = new StreamSource(new ByteArrayInputStream(xml.toByteArray()));
what should I do to
Hi Nicolas,
Use the -Xmx and -Xms startup options of the Java JVM to increase the
heap size.
Note that in your code snippet below you do not take into account the
encoding. This may result in encoding problems because Java chooses the
default encoding based on system properties and that is n
hello,
I'm having a problem with a large xml flow with fop, generating an OutOfMemory
exception.
i'm currently doing this :
Source src = new StreamSource(new ByteArrayInputStream(xml.toByteArray()));
what should I do to optimize memory ?
Thanks,
Nicolas.
--