Fatal error: Allowed memory size of 33554432 bytes exhausted

Need help with the Administration of your Joomla! site? Pop your questions in here.

Moderator: General Support Moderators

Forum rules
Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting, this means YOU.
Forum Post Assistant - If you are serious about wanting help, you will use this tool to help you post.
Locked
AtholP
Joomla! Apprentice
Joomla! Apprentice
Posts: 23
Joined: Mon Jan 12, 2009 11:12 am

Fatal error: Allowed memory size of 33554432 bytes exhausted

Post by AtholP » Tue Jan 27, 2009 10:32 am

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...

User avatar
toivo
Joomla! Master
Joomla! Master
Posts: 11165
Joined: Thu Feb 15, 2007 5:48 am
Location: Oxford, UK

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

Post by toivo » Tue Jan 27, 2009 12:03 pm

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,
Toivo Talikka, Global Moderator

AtholP
Joomla! Apprentice
Joomla! Apprentice
Posts: 23
Joined: Mon Jan 12, 2009 11:12 am

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

Post by AtholP » Tue Jan 27, 2009 1:39 pm

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 !!

bangzhuwo
Joomla! Apprentice
Joomla! Apprentice
Posts: 8
Joined: Wed Dec 09, 2009 4:25 am

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

Post by bangzhuwo » Tue Feb 02, 2010 5:16 pm

i met the same problem and did as you have suggested, but still no change

User avatar
toivo
Joomla! Master
Joomla! Master
Posts: 11165
Joined: Thu Feb 15, 2007 5:48 am
Location: Oxford, UK

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

Post by toivo » Tue Feb 02, 2010 7:58 pm

You need to restart Apache before the new maximum limit takes effect.
Toivo Talikka, Global Moderator

bangzhuwo
Joomla! Apprentice
Joomla! Apprentice
Posts: 8
Joined: Wed Dec 09, 2009 4:25 am

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

Post by bangzhuwo » Wed Feb 03, 2010 3:28 am

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

webhostuk
Joomla! Enthusiast
Joomla! Enthusiast
Posts: 195
Joined: Thu Aug 27, 2009 3:05 am
Location: UK
Contact:

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

Post by webhostuk » Wed Feb 03, 2010 5:43 am

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.
https://www.webhost.uk.net/joomla-hosting.html | Best UK Joomla Hosting!
http://www.webhost.US.Com | Best US Joomla Hosting
One click auto installer for Joomla

stwins
Joomla! Apprentice
Joomla! Apprentice
Posts: 28
Joined: Wed Feb 25, 2009 9:57 am

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

Post by stwins » Sun Feb 07, 2010 1:35 pm

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 !

plakidas
Joomla! Fledgling
Joomla! Fledgling
Posts: 2
Joined: Sat Jan 13, 2007 5:31 pm

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

Post by plakidas » Tue Jan 04, 2011 10:22 pm

Create php.ini in your Joomla Directory. (usualy www folder)

write inside

memory_limit = 128M

Thats all.

nescalera
Joomla! Fledgling
Joomla! Fledgling
Posts: 1
Joined: Mon Aug 29, 2011 12:24 am

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

Post by nescalera » Mon Aug 29, 2011 12:26 am

thank you the ini file did work great thanks

gyanuzraiz
Joomla! Fledgling
Joomla! Fledgling
Posts: 2
Joined: Wed Sep 28, 2011 2:53 pm

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

Post by gyanuzraiz » Wed Sep 28, 2011 2:57 pm

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.

lipob
Joomla! Apprentice
Joomla! Apprentice
Posts: 10
Joined: Sat Apr 23, 2011 7:27 pm

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

Post by lipob » Sat Feb 11, 2012 1:27 pm

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!

User avatar
jazzvox
Joomla! Apprentice
Joomla! Apprentice
Posts: 11
Joined: Wed Aug 18, 2010 6:31 am
Location: Berlin, Germany
Contact:

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

Post by jazzvox » Tue May 22, 2012 2:21 pm

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...
Web, Business, Berlin, World, Politik..
Jetzt lesen unter www.strassen-030.de

lipob
Joomla! Apprentice
Joomla! Apprentice
Posts: 10
Joined: Sat Apr 23, 2011 7:27 pm

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

Post by lipob » Wed May 23, 2012 1:28 pm

Así es. 128 mb son suficientes

donnakat1
Joomla! Apprentice
Joomla! Apprentice
Posts: 5
Joined: Tue Jun 30, 2009 2:39 am

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

Post by donnakat1 » Sun Sep 29, 2013 11:27 pm

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.

User avatar
toivo
Joomla! Master
Joomla! Master
Posts: 11165
Joined: Thu Feb 15, 2007 5:48 am
Location: Oxford, UK

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

Post by toivo » Mon Sep 30, 2013 9:45 am

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)?
Toivo Talikka, Global Moderator


Locked

Return to “Administration - 1.0.x”