OutOfMemory Exception using an sx:subtreeRecordReader
Brought to you by:
danielaparker
Hi!
I am having trouble with a huge xml-file (about 650 MB) including
round about 1.000.000 million records which i want to convert into
a flatFile.
servingXML aborts with an OutOfMemory-Exception because running out of java heap space...but i thought, servingXML uses a streaming architecture, that doesn't allocate java heap space for a whole file but only for the currently processed record...
My servingXML-resource works fine if try it with an XML-file of only 100.000 records...
What can i change in my resources-file to solve this problem?
Is there any suggestion for processing those large xml-files?
(for Details: see attachements)
Thank you very much in advance.
Kind regards
K. Krauthausen
servingXML resource
java exception that is raised while processing 1.000.000 records
short example xml-source file to be converted (only two records instead of 1 million)