Browse Source

Change default for parseHuge to false to avoid OOM on xml expansion

Marc Ypes 8 years ago
parent
commit
e9fdee344d
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/Utility/Xml.php

+ 1 - 1
src/Utility/Xml.php

@@ -107,7 +107,7 @@ class Xml
             'return' => 'simplexml',
             'loadEntities' => false,
             'readFile' => true,
-            'parseHuge' => true,
+            'parseHuge' => false,
         ];
         $options += $defaults;