Fatal error: Allowed memory size of 8388608 bytes exhausted

Discuss here how to configure hoteldruid and better use its features.

Moderator: marco

Post Reply
m4d
Posts: 22
Joined: Wed Aug 09, 2006 11:32 am

Fatal error: Allowed memory size of 8388608 bytes exhausted

Post 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
marco
Posts: 1332
Joined: Tue Jul 05, 2005 6:00 pm
Location: Roma, Italia

Post by marco »

You should change the memory limit in php.ini.

Marco
Problems installing, configuring, upgrading?
Try the easiest way to use HotelDruid:
https://www.digitaldruid.net/hosted/index.php
m4d
Posts: 22
Joined: Wed Aug 09, 2006 11:32 am

Fatal error : memory

Post by m4d »

I cannot modify the php.ini.
Can we find a solution in script ?

Thank for your help
marco
Posts: 1332
Joined: Tue Jul 05, 2005 6:00 pm
Location: Roma, Italia

Post by marco »

Maybe using it in italian saves some memory. When does it hapen? Do you have a large number of apartments?

Marco
Problems installing, configuring, upgrading?
Try the easiest way to use HotelDruid:
https://www.digitaldruid.net/hosted/index.php
m4d
Posts: 22
Joined: Wed Aug 09, 2006 11:32 am

Fatal error ?

Post 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
marco
Posts: 1332
Joined: Tue Jul 05, 2005 6:00 pm
Location: Roma, Italia

Post 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
Problems installing, configuring, upgrading?
Try the easiest way to use HotelDruid:
https://www.digitaldruid.net/hosted/index.php
m4d
Posts: 22
Joined: Wed Aug 09, 2006 11:32 am

Post 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 ???
marco
Posts: 1332
Joined: Tue Jul 05, 2005 6:00 pm
Location: Roma, Italia

Post 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
Problems installing, configuring, upgrading?
Try the easiest way to use HotelDruid:
https://www.digitaldruid.net/hosted/index.php
m4d
Posts: 22
Joined: Wed Aug 09, 2006 11:32 am

Pb with the lang

Post 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
Post Reply