<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Memory overflow problems when processing huge XML files in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/memory-overflow-problems-when-processing-huge-xml-files/m-p/7485408#M1556736</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Many Thanks for your replies.........&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Time being, I have split the file into chunks and then uploaded.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Our requirement is to upload the file from application server after comparing many fields in the XML file with R/3 data.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 17 Nov 2010 17:06:37 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2010-11-17T17:06:37Z</dc:date>
    <item>
      <title>Memory overflow problems when processing huge XML files</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/memory-overflow-problems-when-processing-huge-xml-files/m-p/7485403#M1556731</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We are in need of processing very large XML file.(more than 100MB)..&lt;/P&gt;&lt;P&gt;We ran this job in background and it resulted in runtime errors.&lt;/P&gt;&lt;P&gt;Is there any way of processing this file as a whole?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Thomas Zloch on Nov 17, 2010 4:16 PM - subject adjusted&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 Nov 2010 18:09:35 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/memory-overflow-problems-when-processing-huge-xml-files/m-p/7485403#M1556731</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-11-16T18:09:35Z</dc:date>
    </item>
    <item>
      <title>Re: Memory overflow problems when processing huge XML files</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/memory-overflow-problems-when-processing-huge-xml-files/m-p/7485404#M1556732</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What are these runtime errors exactly? please quote title and section "error analysis".&lt;/P&gt;&lt;P&gt;Which technique are you using for XML processing? DOM classes, XSLT, simple transformations?&lt;/P&gt;&lt;P&gt;Thomas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 Nov 2010 19:42:08 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/memory-overflow-problems-when-processing-huge-xml-files/m-p/7485404#M1556732</guid>
      <dc:creator>ThomasZloch</dc:creator>
      <dc:date>2010-11-16T19:42:08Z</dc:date>
    </item>
    <item>
      <title>Re: Memory overflow problems when processing huge XML files</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/memory-overflow-problems-when-processing-huge-xml-files/m-p/7485405#M1556733</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;We are using DOM method..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The error text is  "Warning: EM-Memory exhausted: Workprocess gets PRIV "&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The termination occurred in the ABAP program "CL_IXML=======================CP"&lt;/P&gt;&lt;P&gt; in "IF_IXML_NODE~GET_NAME".&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 Nov 2010 21:00:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/memory-overflow-problems-when-processing-huge-xml-files/m-p/7485405#M1556733</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-11-16T21:00:14Z</dc:date>
    </item>
    <item>
      <title>Re: Memory overflow problems when processing huge XML files</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/memory-overflow-problems-when-processing-huge-xml-files/m-p/7485406#M1556734</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Normally such memory problems can be avoided by using block processing and clearing tempory data inbetween the blocks. However all XML techniques that I know (DOM, XSLT, ST) require all data to reside in an internal table at once. I will be facing a similar problem soon, so I'm quite interested in a solution.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;One way would be to upgrade the hardware and allow more memory to be allocated to the workprocess (system administration). Some background information:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_nw70ehp1/helpdata/en/49/32eb1fe92e3504e10000000a421937/frameset.htm" target="test_blank"&gt;http://help.sap.com/saphelp_nw70ehp1/helpdata/en/49/32eb1fe92e3504e10000000a421937/frameset.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I wonder if there are other workarounds, let's see if there will be additional replies.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thomas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Nov 2010 15:16:38 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/memory-overflow-problems-when-processing-huge-xml-files/m-p/7485406#M1556734</guid>
      <dc:creator>ThomasZloch</dc:creator>
      <dc:date>2010-11-17T15:16:38Z</dc:date>
    </item>
    <item>
      <title>Re: Memory overflow problems when processing huge XML files</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/memory-overflow-problems-when-processing-huge-xml-files/m-p/7485407#M1556735</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Majualex,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As you said you are processing a 100 mb file, could you please let us know whether you are downloading or uploading a 100 mb file(from the application server). Else, let us know what kind of processing you are performing on the file.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Chaitanya&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Nov 2010 16:21:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/memory-overflow-problems-when-processing-huge-xml-files/m-p/7485407#M1556735</guid>
      <dc:creator>former_member229034</dc:creator>
      <dc:date>2010-11-17T16:21:18Z</dc:date>
    </item>
    <item>
      <title>Re: Memory overflow problems when processing huge XML files</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/memory-overflow-problems-when-processing-huge-xml-files/m-p/7485408#M1556736</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Many Thanks for your replies.........&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Time being, I have split the file into chunks and then uploaded.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Our requirement is to upload the file from application server after comparing many fields in the XML file with R/3 data.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Nov 2010 17:06:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/memory-overflow-problems-when-processing-huge-xml-files/m-p/7485408#M1556736</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-11-17T17:06:37Z</dc:date>
    </item>
    <item>
      <title>Re: Memory overflow problems when processing huge XML files</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/memory-overflow-problems-when-processing-huge-xml-files/m-p/7485409#M1556737</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;How did you split it? Normally there are outer brackets that only close at the very end of the file, how did you keep the XML integrity while splitting? Are you using a preprocessor progam?&lt;/P&gt;&lt;P&gt;Thomas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Nov 2010 17:17:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/memory-overflow-problems-when-processing-huge-xml-files/m-p/7485409#M1556737</guid>
      <dc:creator>ThomasZloch</dc:creator>
      <dc:date>2010-11-17T17:17:26Z</dc:date>
    </item>
    <item>
      <title>Re: Memory overflow problems when processing huge XML files</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/memory-overflow-problems-when-processing-huge-xml-files/m-p/7485410#M1556738</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes Thomas, You are very correct.....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here, I split the XML file manually....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Its a good idea to develop a preprocessor program which will split up the file keeping the integrity of XML file.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Nov 2010 17:37:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/memory-overflow-problems-when-processing-huge-xml-files/m-p/7485410#M1556738</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-11-17T17:37:07Z</dc:date>
    </item>
  </channel>
</rss>

