Page 1 of 1

Fatal error: Allowed memory size of 33554432 bytes exhausted

Posted: Tue Jan 27, 2009 10:32 am
by AtholP
Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 15008 bytes) in /home/autograp/public_html/administrator/components/com_morfeoshow/helpers/upload.php on line 433

Can anyone please advise on how I should fix this?

Much appreciated...

Re: Fatal error: Allowed memory size of 33554432 bytes exhausted

Posted: Tue Jan 27, 2009 12:03 pm
by toivo
You need to edit the following line in php.ini and increase the limit to for example 128M:

Code: Select all

memory_limit = 32M; 
If you do not have access to the actual php.ini maintained by your hosting company, you may be able to create a text file and call it php.ini in the root folder of your website, with the above line in it.

Regards,

Re: Fatal error: Allowed memory size of 33554432 bytes exhausted

Posted: Tue Jan 27, 2009 1:39 pm
by AtholP
Thank you Toivo

I will apply your suggestion.

Enjoying the cricket by the way? Yeah, you guessed it, I am from South Africa - gloat gloat !!

Re: Fatal error: Allowed memory size of 33554432 bytes exhausted

Posted: Tue Feb 02, 2010 5:16 pm
by bangzhuwo
i met the same problem and did as you have suggested, but still no change

Re: Fatal error: Allowed memory size of 33554432 bytes exhausted

Posted: Tue Feb 02, 2010 7:58 pm
by toivo
You need to restart Apache before the new maximum limit takes effect.

Re: Fatal error: Allowed memory size of 33554432 bytes exhausted

Posted: Wed Feb 03, 2010 3:28 am
by bangzhuwo
hi, Toivo,
I made it by changing the PHP5 to PHP 5 single php.ini throught bluehost, which automatically copied the php.ini setting to all the subdirectories. Then all sorted.andrew

Re: Fatal error: Allowed memory size of 33554432 bytes exhausted

Posted: Wed Feb 03, 2010 5:43 am
by webhostuk
AtholP wrote:Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 15008 bytes) in /home/autograp/public_html/administrator/components/com_morfeoshow/helpers/upload.php on line 433

Can anyone please advise on how I should fix this?

Much appreciated...

Your problem is related to Rlimit set in apache.conf..

Comment that line and your joomla site will start running again.

Or increase this limit and restart apache.

Re: Fatal error: Allowed memory size of 33554432 bytes exhausted

Posted: Sun Feb 07, 2010 1:35 pm
by stwins
Hee I was also getting the same error. And I was stuck like anything in this problem.......
But big thanks to toivo, for the gr8 solution.
Thanks Again !

Re: Fatal error: Allowed memory size of 33554432 bytes exhau

Posted: Tue Jan 04, 2011 10:22 pm
by plakidas
Create php.ini in your Joomla Directory. (usualy www folder)

write inside

memory_limit = 128M

Thats all.

Re: Fatal error: Allowed memory size of 33554432 bytes exhau

Posted: Mon Aug 29, 2011 12:26 am
by nescalera
thank you the ini file did work great thanks

Re: Fatal error: Allowed memory size of 33554432 bytes exhau

Posted: Wed Sep 28, 2011 2:57 pm
by gyanuzraiz
Can anybody please help me in this
Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 13120 bytes) in D:\xampp\htdocs\ne\modules\mod_sp_simple_gallery\class.spThumbnail.php on line 111. even i change in php.ini file 32m to 128m but it's still same.

Re: Fatal error: Allowed memory size of 33554432 bytes exhau

Posted: Sat Feb 11, 2012 1:27 pm
by lipob
plakidas wrote:Create php.ini in your Joomla Directory. (usualy www folder)

write inside

memory_limit = 128M

Thats all.
Thank you plakidas! it works great!

Re: Fatal error: Allowed memory size of 33554432 bytes exhau

Posted: Tue May 22, 2012 2:21 pm
by jazzvox
I'm running Joomla 2.5.4 with Kunena, AUP, AcyMailing, CB and more. After implementing CB GroupJive I got the "Fatal error: Allowed memory size of 67108864 bytes exhausted" - in frontend on Kunena main forum link. I know this issue from WordPress, my Shared Server memory size is set to 64M by default - which seems to be not enough, anymore. Greedy Joomla! Extensions...

:pop :pop :pop :pop :pop :pop :pop :pop :pop

For those who can't access their virtual server (as me), and to avoid having a php.ini file on webspace:

I use .htaccess (for many beneficial reasons) anyway, so put this line:

Code: Select all

php_value memory_limit 128M
somewhere at the bottom

That's what my hoster adviced me to do...

Re: Fatal error: Allowed memory size of 33554432 bytes exhau

Posted: Wed May 23, 2012 1:28 pm
by lipob
Así es. 128 mb son suficientes

Re: Fatal error: Allowed memory size of 33554432 bytes exhau

Posted: Sun Sep 29, 2013 11:27 pm
by donnakat1
I did php.ini file and it shows that the allotment has changed but it has also broken the link to my database. Now I get Database connection error (1): The MySQL adapter 'mysql' is not available. I should also mention that the site is on Godaddy so I do not have access to php. Any help would be greatly appreciated.

Re: Fatal error: Allowed memory size of 33554432 bytes exhau

Posted: Mon Sep 30, 2013 9:45 am
by toivo
If you created a new php.ini file with one line in it, you should just delete the file. If you did something else, that is more likely to explain why the database connection broke. If you edited something else, do yo have a backup copy of the file(s)?