Bug #44278
High memory consumption of Debugger::renderObjectDump() prevents display of Exceptions
Status:
Resolved
Priority:
Must have
Assignee:
Category:
Error
Target version:
Start date:
2013-01-02
Due date:
% Done:
100%
Estimated time:
PHP Version:
Has patch:
No
Complexity:
easy
Description
When an arbitrary Exception is thrown i get a "Allowed memory Limit"-Error instead of the Flow Exception-Errormessage.
This seems to occure because \Doctrine\Common\Util\Debug::export($object, 12) is called with 12 nesting levels.
In TYPO3\Flow\Error\Debugger:
.... static protected function renderObjectDump($object, $level, $renderProperties = TRUE, $plaintext = FALSE, $ansiColors = FALSE) { $dump = ''; $scope = ''; $additionalAttributes = ''; if ($object instanceof \Doctrine\Common\Collections\Collection) { return self::renderArrayDump(\Doctrine\Common\Util\Debug::export($object, 12), $level, $plaintext, $ansiColors); } ...
if i change the 12 to 6 for example it works.
Sould this not be at least configurable via Settings.yaml?
Related issues