<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Recent changes to 8: OutOfMemory Exception using an sx:subtreeRecordReader</title><link>https://sourceforge.net/p/servingxml/support-requests/8/</link><description>Recent changes to 8: OutOfMemory Exception using an sx:subtreeRecordReader</description><atom:link href="https://sourceforge.net/p/servingxml/support-requests/8/feed.rss" rel="self"/><language>en</language><lastBuildDate>Fri, 18 Mar 2011 19:36:23 -0000</lastBuildDate><atom:link href="https://sourceforge.net/p/servingxml/support-requests/8/feed.rss" rel="self" type="application/rss+xml"/><item><title>OutOfMemory Exception using an sx:subtreeRecordReader</title><link>https://sourceforge.net/p/servingxml/support-requests/8/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;Hi!&lt;/p&gt;
&lt;p&gt;I am having trouble with a huge xml-file (about 650 MB) including&lt;br /&gt;
round about 1.000.000 million records which i want to convert into&lt;br /&gt;
a flatFile.&lt;/p&gt;
&lt;p&gt;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...&lt;/p&gt;
&lt;p&gt;My servingXML-resource works fine if try it with an XML-file of only 100.000 records...&lt;/p&gt;
&lt;p&gt;What can i change in my resources-file to solve this problem?&lt;br /&gt;
Is there any suggestion for processing those large xml-files?&lt;br /&gt;
(for Details: see attachements)&lt;/p&gt;
&lt;p&gt;Thank you very much in advance.&lt;/p&gt;
&lt;p&gt;Kind regards&lt;br /&gt;
K. Krauthausen&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">KKK</dc:creator><pubDate>Fri, 18 Mar 2011 19:36:23 -0000</pubDate><guid>https://sourceforge.netf8b90e2aa8d31a7fcf1762a0215c50bccd79b156</guid></item></channel></rss>