Fatal error: Allowed memory size of xx exhausted

Having trouble installing serendipity?
Post Reply
hgoor
Regular
Posts: 297
Joined: Thu Jan 06, 2005 11:46 am

Fatal error: Allowed memory size of xx exhausted

Post by hgoor »

When I try to load the event plugins I get this nice error:

Fatal error: Allowed memory size of 8388608 bytes exhausted (tried to allocate 35 bytes) in /var/www/include/plugin_api.inc.php on line 596

Actually I get more of the same when I try to reload:

Fatal error: Allowed memory size of 8388608 bytes exhausted (tried to allocate 14592 bytes) in /var/www/plugins/serendipity_plugin_adduser/lang_en.inc.php on line 21


Info: I use the latest build of Beta 1.1

PS: ok this is even worse than I thought: now I do not get the site at all: just a blank page in the index file, no error, nothing....

I checked permissions etc, but the server is running because my phpinfo.php works...

Totally weird..
"If life is worth living, it's worth documenting" -- Adam Curry ("Podfather")

Bloggers@large: http://www.vandegoor.com
iLounge Radio: http://www.hostingperfect.net:8004/listen.pls
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: Fatal error: Allowed memory size of xx exhausted

Post by garvinhicking »

Hi!

How many plugins did you copy into your directory? Which plugins did you already install?

You have too many plugins and your memory limit is too low.

Best regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
hgoor
Regular
Posts: 297
Joined: Thu Jan 06, 2005 11:46 am

Re: Fatal error: Allowed memory size of xx exhausted

Post by hgoor »

garvinhicking wrote:Hi!

How many plugins did you copy into your directory? Which plugins did you already install?

You have too many plugins and your memory limit is too low.

Best regards,
Garvin
I deleted all the ones that where in the dir and copied the ones from my windows machine...

Where and how do I put the memory limit up??
"If life is worth living, it's worth documenting" -- Adam Curry ("Podfather")

Bloggers@large: http://www.vandegoor.com
iLounge Radio: http://www.hostingperfect.net:8004/listen.pls
judebert
Regular
Posts: 2478
Joined: Sat Oct 15, 2005 6:57 am
Location: Orlando, FL
Contact:

Post by judebert »

It's part of your PHP config, so it needs to be changed in your php.ini. Set the memory_limit higher, like 32M.
Judebert
---
Website | Wishlist | PayPal
hgoor
Regular
Posts: 297
Joined: Thu Jan 06, 2005 11:46 am

Post by hgoor »

Ok don't laugh. I found several php.ini files on my webserver. How do I know which one to edit?

Can I find out if I make a phpinfo.php test file?

EDIT: nevermind, off course it was the one in etc/php5/apache2 :P
"If life is worth living, it's worth documenting" -- Adam Curry ("Podfather")

Bloggers@large: http://www.vandegoor.com
iLounge Radio: http://www.hostingperfect.net:8004/listen.pls
Post Reply