4images Forum & Community

4images Issues / Ausgaben => Installation, Update & Configuration => Topic started by: nhat_lang0000 on July 21, 2007, 03:41:28 PM

Title: Fatal error: Allowed memory size of 25165824 bytes exhausted
Post by: nhat_lang0000 on July 21, 2007, 03:41:28 PM
Fatal error: Allowed memory size of 25165824 bytes exhausted (tried to allocate 13056 bytes) in /home2/choadaoo/public_html/lienhoa/gallery/includes/image_utils.php on line 80
 
this is the error i got from 1.7.4 upgraded...
i unstalled the check new images... when i went in there to add (check for new images) then added... but then this error always shown... can't add the images
please help
Title: Re: Fatal error: Allowed memory size of 25165824 bytes exhausted
Post by: thunderstrike on January 13, 2008, 12:50:19 AM
Please report message to host. Is server error - no 4images.
Title: Re: Fatal error: Allowed memory size of 25165824 bytes exhausted
Post by: ladyoz on January 29, 2008, 11:05:12 PM
I had the same problem, so I contacted my host's Help Desk.  Their reply was:

"Your scripts are attempting to use more than php's default memory limit for scripts. Accounts on our shared servers are not allowed to use an excessive amount of system resources. If your scripts need to use more than what is currently available, you should either try optimizing your scripts and databases or look for a dedicated server."

They doubled the limit temporarily, which allowed me to restore my database.  It runs fine now.

Hope this helps.
Oz.
Title: Re: Fatal error: Allowed memory size of 25165824 bytes exhausted
Post by: nikitaspj on February 16, 2008, 05:36:58 PM
Yesterday this was not happening.What we should do to optimize the script for that .Somebody can say ?
Title: Re: Fatal error: Allowed memory size of 25165824 bytes exhausted
Post by: EdwinK on September 02, 2008, 07:56:20 AM
Contacted my host about the same problem

'Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 40000 bytes) in /home/*****/public_html/gallery/includes/image_utils.php on line 80"

Got the following answer:

Quote

The memory limit is 128Mb, and 40000 bytes is well within that limit. This may be due to your script, which we cannot support.

Regards,

Title: Re: Fatal error: Allowed memory size of 25165824 bytes exhausted
Post by: V@no on September 02, 2008, 08:12:00 AM
Hello and welcome to 4images forum.

128Mb = 134217728 bytes
The script used up all 134217728 bytes but needed more 40000 bytes to complete the task.

There is nothing you can do about it, except maybe don't use GD library to create thumbnails / resize images, try use ImageMagick instead.
Title: Re: Fatal error: Allowed memory size of 25165824 bytes exhausted
Post by: EdwinK on September 02, 2008, 09:42:00 AM
Will try that. If I can figure out what the path to ImageMagick is ;)