Welcome, Guest. Please login or register.
Did you miss your activation email?
May 27, 2012, 06:05:56 AM

Login with username, password and session length
Search:     Advanced search
Interested in joining the WebsiteBaker team?
For more Information read here or on our new website.
155555 Posts in 21715 Topics by 7737 Members
Latest Member: gx-world
* Home Help Search Login Register
Pages: [1]   Go Down
Print
Author Topic: Fatal error: Allowed memory size of 33554432 bytes exhausted  (Read 1881 times)
trippnicki

Offline Offline

Posts: 14


« on: January 11, 2008, 07:34:49 PM »

Hi,

Am getting the following area when working on my site:

Fatal error: Allowed memory size of 67108864 bytes exhausted (tried to allocate 66584553 bytes) in W:\www\wb\framework\functions.php on line 633

Have tried:
increasing memory size allowed in php.ini from 32 to 64 MB (and checked the settings took...)
restarted server
restarted computer
deleted some bulky pages in my site...

Nothing helping, Any other ideas?

Many thanks for helping the greenhand...
Logged
thorn

Offline Offline

Posts: 980


WWW
« Reply #1 on: January 12, 2008, 09:50:44 AM »

Hello,

this is a "bug", triggered by a wrong server-configuration.
(default-charset in apache-config, if i remember correctly)

Try http://help.websitebaker.org/pages/en/still-questions.php - Number 5 ("If you are not sure about the required information, create a new page of type code and add the code contained in this text file. Copy the results of the analysis script to a textfile (e.g. result.txt) and attach this to your post in the forum.")

thorn.
Logged

mviens

Offline Offline

Posts: 57


« Reply #2 on: July 09, 2009, 01:16:40 AM »

I wasn't sure if I should start a new post or not... I am getting the same error so I followed Thorn's recommendation and setup this code page: http://www.blackthornband.com/pages/code-page.php

I installed Image Gallery and was getting errors trying to upload images. I checked my php info settings and the memory_limit was 10MB. I was getting this error for anything over 500KB:
Fatal error: Allowed memory size of 10485760 bytes exhausted (tried to allocate 4800 bytes) in /home/www/blackthornband/framework/functions.php on line 514

I contact my host company and they increased it to 30MB.

I then tested up to a 1.2MB jpg which uploaded fine but a 1.7MB jpg was giving me:
Fatal error: Allowed memory size of 31457280 bytes exhausted (tried to allocate 3000 bytes) in /home/www/blackthornband/framework/functions.php on line 514

I'm not sure why it would be looking for 31MB to run the script - that seems quite large for processing a 1.7MB jpg.

I can upload the files via the media folder with no problems.

Is there something else I should be checking on my server? Is there a problem in the Image Gallery script? I've used it before on other sites and not run into this.

Thanks.
« Last Edit: July 09, 2009, 01:18:41 AM by mviens » Logged
thorn

Offline Offline

Posts: 980


WWW
« Reply #3 on: July 09, 2009, 07:49:06 AM »

Hello,

Fatal error: Allowed memory size of 10485760 bytes exhausted (tried to allocate 4800 bytes) in /home/www/blackthornband/framework/functions.php on line 514

this is an GD-lib issue (make_thumb()-function in framework/functions.php).
I have seen this problem on different servers using PHP4, too.
Upgrading to PHP5 helps.


thorn.
Logged

Pages: [1]   Go Up
Print
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.16 | SMF © 2011, Simple Machines Valid XHTML 1.0! Valid CSS!