Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
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:
xmlSAX2Characters: huge text node On line number: 11661. SystemID: (null)
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.
What we've confirmed so far:
Is there any engine configuration, Settings.ini parameter, or other mechanism in Qlik Sense to raise or disable the XML text node size limit?
Any guidance is appreciated. Thanks in advance.
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.
Recommended Settings.ini Parameters
Modify C:\ProgramData\Qlik\Sense\Engine\Settings.ini on all Engine nodes, adding the settings under the [Settings 7] header.
ini
[Settings 7] ReloadMemoryLimit=0
ini
[Settings 7] <Key to increase streaming buffer>
Steps to Apply Changes
Alternative Adjustments
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:
Disclaimer: Modifying settings.ini to unlimited (0) can cause engine instability if memory is exhausted.