[TYPO3-mvc] allowed memory size of ~128000000 bytes exhausted

Bastian Waidelich bastian at typo3.org
Mon Dec 6 12:05:39 CET 2010


Stefan Frömken wrote:

Hi Stefan,

> Then I tried to print out $inks-Array and I got a VERY very long list
> and I have to push stop-button in my browser. The browser task reaches
> over 700MB.

> [...]
> $inks = $this->inkRepository->findAll();
> print_r($inks);

the findAll() method returns an object of 
Tx_Extbase_Persistence_QueryResultInterface by default.

You could try
print_r($inks->toArray());
or
print_r($inks->getFirst());

Best,
Bastian



More information about the TYPO3-project-typo3v4mvc mailing list