Fatal error: Allowed memory size of ...
Tue, 10/18/2011 - 15:28
Anyone of you have had an error message like this:
Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 1024 bytes) in /var/www/includes/listados/reporte_global_empenos.php on line 605It is happening when we try to run one report in our Application. We tried to change the memory limit in the php.ini file but it still doesn't work.

Have you tried this (should actually be the same as changing the php.ini but you never know)?
ini_set('memory_limit','256M');
I often get this when I use QFirebug actually.
Cheers
Helge
I actually did that but it doesn't work
Does the number in the error message increase? Have you tried crazy numbers like a G?
Spike,
How big is the data loaded for the report? And how is the report created displayed?
Are you using data grids? Are you using paging or is it all in one page?
My guess is, you're either loading/displaying too much, or there is a leak somewhere, where QControl's are not being cleaned up correctly and on time. More details are needed to figure out your case.
-Vartan