[TYPO3-mvc] print_r, t3lib_utility_Debug::debug on an object produces memory leak in Extbase 1.3.0
Simon Schaufelberger
schaufelREMOVE-MEberger at punkt.de
Thu Feb 10 10:22:20 CET 2011
Hello,
with the old version of extbase it was possible to debug an object with
print_r without any memory problems.
Since the new Extbase Version 1.3 my server needs more than 256 MB Ram
and I don't know why and what Extbase is doing with my object.
Any profiler gurus here who can find out what is the problem?
Just try it with the blog_example and print_r($blog); in edit Action of
BlogController.
/**
* Edits an existing blog
*
* @param Tx_BlogExample_Domain_Model_Blog $blog
* @return string Form for editing the existing blog
* @dontvalidate $blog
*/
public function editAction(Tx_BlogExample_Domain_Model_Blog $blog) {
print_r($blog);
exit;
}
--
Kind regards,
Schaufi from punkt.de
More information about the TYPO3-project-typo3v4mvc
mailing list