<?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 xmlSAX2Characters: huge text node error when loading large .nessus XML files via XmlSimple in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/xmlSAX2Characters-huge-text-node-error-when-loading-large-nessus/m-p/2545907#M109890</link>
    <description>&lt;P class=""&gt;We're loading Nessus scan files (.nessus, which are XML) using XmlSimple in a Qlik Sense Enterprise on Windows environment. When a file contains a single text node larger than ~10MB (typically a host property with a full filesystem listing), the reload fails with:&lt;/P&gt;&lt;P class=""&gt;xmlSAX2Characters: huge text node On line number: 11661. SystemID: (null)&lt;/P&gt;&lt;P class=""&gt;This appears to be libxml2's hard-coded XML_MAX_TEXT_LENGTH limit (10,000,000 bytes). libxml2 supports an XML_PARSE_HUGE flag that raises this to 1GB, but we can't find any way to enable it in Qlik Sense.&lt;/P&gt;&lt;P class=""&gt;What we've confirmed so far:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;The LongestPossibleLine setting in Settings.ini only applies to CSV, not XML (per support article 000080675)&lt;/LI&gt;&lt;LI&gt;The error fires during the initial DOM parse, before any WHERE clause or table path filtering is evaluated&lt;/LI&gt;&lt;LI&gt;We're currently planning to wrap loads in ErrorMode=0 / ScriptError checks as a workaround&lt;/LI&gt;&lt;/UL&gt;&lt;P class=""&gt;&lt;STRONG&gt;Is there any engine configuration, Settings.ini parameter, or other mechanism in Qlik Sense to raise or disable the XML text node size limit?&lt;/STRONG&gt;&lt;/P&gt;&lt;P class=""&gt;Any guidance is appreciated. Thanks in advance.&lt;/P&gt;</description>
    <pubDate>Tue, 31 Mar 2026 14:56:13 GMT</pubDate>
    <dc:creator>Chrisrokc</dc:creator>
    <dc:date>2026-03-31T14:56:13Z</dc:date>
    <item>
      <title>xmlSAX2Characters: huge text node error when loading large .nessus XML files via XmlSimple</title>
      <link>https://community.qlik.com/t5/App-Development/xmlSAX2Characters-huge-text-node-error-when-loading-large-nessus/m-p/2545907#M109890</link>
      <description>&lt;P class=""&gt;We're loading Nessus scan files (.nessus, which are XML) using XmlSimple in a Qlik Sense Enterprise on Windows environment. When a file contains a single text node larger than ~10MB (typically a host property with a full filesystem listing), the reload fails with:&lt;/P&gt;&lt;P class=""&gt;xmlSAX2Characters: huge text node On line number: 11661. SystemID: (null)&lt;/P&gt;&lt;P class=""&gt;This appears to be libxml2's hard-coded XML_MAX_TEXT_LENGTH limit (10,000,000 bytes). libxml2 supports an XML_PARSE_HUGE flag that raises this to 1GB, but we can't find any way to enable it in Qlik Sense.&lt;/P&gt;&lt;P class=""&gt;What we've confirmed so far:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;The LongestPossibleLine setting in Settings.ini only applies to CSV, not XML (per support article 000080675)&lt;/LI&gt;&lt;LI&gt;The error fires during the initial DOM parse, before any WHERE clause or table path filtering is evaluated&lt;/LI&gt;&lt;LI&gt;We're currently planning to wrap loads in ErrorMode=0 / ScriptError checks as a workaround&lt;/LI&gt;&lt;/UL&gt;&lt;P class=""&gt;&lt;STRONG&gt;Is there any engine configuration, Settings.ini parameter, or other mechanism in Qlik Sense to raise or disable the XML text node size limit?&lt;/STRONG&gt;&lt;/P&gt;&lt;P class=""&gt;Any guidance is appreciated. Thanks in advance.&lt;/P&gt;</description>
      <pubDate>Tue, 31 Mar 2026 14:56:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/xmlSAX2Characters-huge-text-node-error-when-loading-large-nessus/m-p/2545907#M109890</guid>
      <dc:creator>Chrisrokc</dc:creator>
      <dc:date>2026-03-31T14:56:13Z</dc:date>
    </item>
    <item>
      <title>Re: xmlSAX2Characters: huge text node error when loading large .nessus XML files via XmlSimple</title>
      <link>https://community.qlik.com/t5/App-Development/xmlSAX2Characters-huge-text-node-error-when-loading-large-nessus/m-p/2545908#M109891</link>
      <description>&lt;P&gt;You can raise or remove limitations on data size in Qlik Sense by modifying the Engine's Settings.ini file. While Qlik does not have a specific named parameter for "XML node size," you can increase memory limits and adjust buffer settings to prevent failures when processing large data packets, often associated with XML/JSON parsing.&amp;nbsp;&lt;BR /&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Recommended Settings.ini Parameters&amp;nbsp;&lt;/STRONG&gt;&lt;BR /&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Modify C:\ProgramData\Qlik\Sense\Engine\Settings.ini on all Engine nodes, adding the settings under the [Settings 7] header.&amp;nbsp;&lt;BR /&gt;&amp;nbsp;&lt;/P&gt;
&lt;UL&gt;
 &lt;LI&gt;&lt;STRONG&gt;Disable/Raise Reload Memory Limit:&lt;/STRONG&gt; A negative value or 0 disables the limit, allowing the script to use more memory for large nodes.&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;ini&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;[Settings 7] ReloadMemoryLimit=0&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;UL&gt;
 &lt;LI&gt;&lt;STRONG&gt;Increase File Streaming Buffer:&lt;/STRONG&gt; If the issue is with data file size exceeding the buffer:&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;ini&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;[Settings 7] &amp;lt;Key to increase streaming buffer&amp;gt;&lt;/P&gt;
&lt;UL&gt;
 &lt;LI&gt;&lt;I&gt;Note: The specific key to use for streaming buffer is often provided by Qlik Support based on the error log, but ReloadMemoryLimit is the primary mechanism to handle large data allocations.&lt;/I&gt;&amp;nbsp;&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;&lt;STRONG&gt;Steps to Apply Changes&lt;/STRONG&gt;&lt;/P&gt;
&lt;OL&gt;
 &lt;LI&gt;&lt;STRONG&gt;Stop services:&lt;/STRONG&gt; Stop the Qlik Sense Engine and Qlik Sense Service Dispatcher services on all nodes.&lt;/LI&gt;
 &lt;LI&gt;&lt;STRONG&gt;Edit file:&lt;/STRONG&gt; Open C:\ProgramData\Qlik\Sense\Engine\Settings.ini in Notepad as Administrator.&lt;/LI&gt;
 &lt;LI&gt;&lt;STRONG&gt;Add/Modify:&lt;/STRONG&gt; Ensure [Settings 7] exists and add the parameters.&lt;/LI&gt;
 &lt;LI&gt;&lt;STRONG&gt;Save:&lt;/STRONG&gt; Save and ensure there is a blank line at the end of the file.&lt;/LI&gt;
 &lt;LI&gt;&lt;STRONG&gt;Restart:&lt;/STRONG&gt; Start the services.&amp;nbsp;&lt;/LI&gt;
&lt;/OL&gt;
&lt;P&gt;&lt;STRONG&gt;Alternative Adjustments&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;If the error is related to HTTP communications (e.g., Qlik Web Connectors), you may need to increase the HTTP Header size via the Registry:&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;UL&gt;
 &lt;LI&gt;&lt;STRONG&gt;Path:&lt;/STRONG&gt; HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\HTTP\Parameters&lt;/LI&gt;
 &lt;LI&gt;&lt;STRONG&gt;Parameters:&lt;/STRONG&gt; Increase MaxFieldLength and MaxRequestBytes.&amp;nbsp;&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;&lt;I&gt;Disclaimer: Modifying settings.ini to unlimited (0) can cause engine instability if memory is exhausted.&lt;/I&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 31 Mar 2026 15:03:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/xmlSAX2Characters-huge-text-node-error-when-loading-large-nessus/m-p/2545908#M109891</guid>
      <dc:creator>Greg_Taffer</dc:creator>
      <dc:date>2026-03-31T15:03:00Z</dc:date>
    </item>
  </channel>
</rss>

