Fatal error: Allowed memory size of ...

Login or register to post comments
4 replies [Last post]
Offline
Joined: 12/30/2009

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 605

It 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.

Offline
Joined: 04/22/2009

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

Offline
Joined: 12/30/2009

I actually did that but it doesn't work

Offline
Joined: 04/22/2009

Does the number in the error message increase? Have you tried crazy numbers like a G?

vakopian's picture
Offline
Joined: 04/08/2008

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