Page 1 of 1

Fatal error: Allowed memory size of xx exhausted

Posted: Fri Jul 14, 2006 10:11 pm
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..

Re: Fatal error: Allowed memory size of xx exhausted

Posted: Mon Jul 17, 2006 10:36 am
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

Re: Fatal error: Allowed memory size of xx exhausted

Posted: Tue Jul 18, 2006 10:38 pm
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??

Posted: Thu Jul 20, 2006 8:03 am
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.

Posted: Thu Jul 20, 2006 10:11 am
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