Page 1 of 1

Problem installing plugins

Posted: Sat Feb 09, 2008 12:24 pm
by Sanix
Fatal error: Allowed memory size of 8388608 bytes exhausted (tried to allocate 39 bytes) in /home/www/web85/html/blog/plugins/serendipity_event_spartacus/serendipity_event_spartacus.php on line 538

I get this errors very often. I think it's some Webserver configuration problem. But I'm on a shared host and can't change the configuration there. The other question is, why 8MB are not enough? What the hell are these scripts doing and is there any possibility to change it?

Re: Problem installing plugins

Posted: Sun Feb 10, 2008 12:25 pm
by garvinhicking
Hi!

This means your webserver has not enough RAM (not disk size) to install any more plugins.

You either have to remove some plugins first, or ask your provider to raise your RAM limit (PHP "memory_limit" option).
The other question is, why 8MB are not enough? What the hell are these scripts doing and is there any possibility to change it?
Wen Spartacus loads the plugin list, it needs to parse a XML file into memory. XML files are large structures, they can easily take up to 2 MB RAM. Then, each s9y plugin is a PHP object, which take up much serialized space. For each plugin some language constants are loaded, so you can calculate about 500kb for each plugin you have installed. the serendipity functions themselves need to be loaded into memory, and the framework takes about 3-4MB of your RAM.

Typo3, for example, requires a minimum of 16MB of RAM, and most installations I am using it for require about 48MB for the Extensions it uses.

Regards,
Garvin