Page 1 of 1

Fatal error: Allowed memory size of 8388608 bytes exhausted

Posted: Mon Mar 05, 2007 4:59 pm
by m4d
I have a problem and I am not able to solve it. I have the following error :
Fatal error: Allowed memory size of 8388608 bytes exhausted (tried to allocate 66888 bytes) in /......./funzioni.php on line 71

Thank you for your assistance

Posted: Tue Mar 06, 2007 11:29 am
by marco
You should change the memory limit in php.ini.

Marco

Fatal error : memory

Posted: Wed Mar 07, 2007 10:44 am
by m4d
I cannot modify the php.ini.
Can we find a solution in script ?

Thank for your help

Posted: Wed Mar 07, 2007 6:21 pm
by marco
Maybe using it in italian saves some memory. When does it hapen? Do you have a large number of apartments?

Marco

Fatal error ?

Posted: Thu Mar 08, 2007 4:44 pm
by m4d
No, I have only 5 apartments. In fact, it's the script "personalizza.php" which is not posted entirely (stop after the parameters of the booking tables) and it's indicated the error message.

Thanks a lot

Posted: Mon Mar 12, 2007 1:39 pm
by marco
I have tried personalizza.php and it loads fine until a memory limit of 3M (modifying a reservation stops earlier at 4M). Maybe you have some option like words replacement enabled?

Marco

Posted: Wed Mar 14, 2007 2:03 pm
by m4d
No, I don't have some option like words replacement enabled. I use only the basics options ? It would be perhaps interesting to divide script into two parts ???

Posted: Thu Mar 15, 2007 7:45 pm
by marco
I don't feel like dividing the script as most hostings today offer more than 8M (for example mediawiki requires 32M to install!). If you want send me your php-residence backup at marco@digitaldruid.net .

Marco

Pb with the lang

Posted: Sat Mar 17, 2007 11:47 am
by m4d
In fact, it is a problem with the include file “Lang”:
If I use Italian, script executes entirely.
If I use Spanish or English, script doesn't execute and I have the error message.
If I use French, script script executes partially and I have the error message.

Thanks for your help