Details
-
Improvement
-
Resolution: Fixed
-
Medium
-
4.4.0alpha1
-
None
Description
A lot of debug code in xml handler executes saveXML() calls on xml document a lot of times during xml parsing. When xml document is large, that can lead to timeout and/or memory exhaustion.
Attached patch makes these calls truly conditional, so the extra ->saveXML() calls are not called if debug is disabled as it normally is by default. (kernel-datatype-ezxmltext needs to be specifically enabled in debug.ini, and is only used by developers when tracking bugs in ezxmltext).
Attachments
Issue Links
- relates to
-
EZP-16843 With a large amount of data in a literal tag ez exhausts memory
- Closed