4images Forum & Community
Welcome, Guest. Please login or register.
Did you miss your activation email?
December 14, 2018, 05:12:47 AM

Login with username, password and session length
Search:     Advanced search
Togle to toolbar
Translate this page with =>
Translate this page >
* Home Help Search Login Register
 
+  4images Forum & Community
|-+  4images Issues / Ausgaben
| |-+  Installation, Update & Configuration (Moderators: Acidgod, ivan, Rembrandt)
| | |-+  Fatal error: Allowed memory size of 25165824 bytes exhausted
0 Members and 1 Guest are viewing this topic. « previous next »
Pages: [1] Print
Author Topic: Fatal error: Allowed memory size of 25165824 bytes exhausted  (Read 13122 times)
nhat_lang0000
Pre-Newbie

Offline Offline

Posts: 4

Thank You
-Given: 0
-Receive: 0


View Profile
« 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
Logged
thunderstrike
4images Guru
*******
Offline Offline

Posts: 2327

Thank You
-Given: 0
-Receive: 10


View Profile
« Reply #1 on: January 13, 2008, 12:50:19 AM »

Please report message to host. Is server error - no 4images.
Logged

8 steps need when ask question -

- PHP version (ACP - > phpinfo())
- mySQL version (ACP - > phpinfo())
- 4images version
- Post screenshot / URL
- Post code in BB Code (no need full file for code) or post attach file
- It doesn't work. What is say - what is do for no work
- Install MOD ? If so - please say (troubleshooting)
- Read FAQ ? Install Bug fixes ?
ladyoz
Newbie
*
Offline Offline

Posts: 15

Thank You
-Given: 0
-Receive: 0


View Profile WWW
« Reply #2 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.
Logged

Despite the cost of living, it's still popular ...
nikitaspj
Newbie
*
Offline Offline

Posts: 10

Thank You
-Given: 0
-Receive: 0


View Profile
« Reply #3 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 ?
Logged
EdwinK
Pre-Newbie

Offline Offline

Posts: 8

Thank You
-Given: 0
-Receive: 0


View Profile
« Reply #4 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  [Expand]

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,

Logged
V@no
If you don't tell me what to do, I won't tell you where you should go :)
Administrator
4images Guru
*****
Offline Offline

Posts: 17849

Thank You
-Given: 47
-Receive: 578

mmm PHP...


View Profile WWW
« Reply #5 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.
Logged

Your first three "must do" before you ask a question:
Please do not PM me asking for help unless you've been specifically asked to do so. Such PMs will be deleted without answer. (forum rule #6)
Extension for Firefox/Thunderbird: Master Password+    Back/Forward History Tweaks (restartless)    Cookies Manager+    Fit Images (restartless for Thunderbird)
EdwinK
Pre-Newbie

Offline Offline

Posts: 8

Thank You
-Given: 0
-Receive: 0


View Profile
« Reply #6 on: September 02, 2008, 09:42:00 AM »

Will try that. If I can figure out what the path to ImageMagick is Wink
Logged
Pages: [1] Print 
« previous next »
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF | SMF © 2015, Simple Machines Valid XHTML 1.0! Valid CSS!
Page created in 0.055 seconds with 19 queries.