Page 1 of 1

Allowed memory size of 8388608 bytes exhausted error ??

Posted: Thu Apr 13, 2006 6:19 pm
by electroteque
I just experienced this trying to reset my themes, because the move of the updated files over to the old directory was so messy on the server something happened.

Fatal error: Allowed memory size of 8388608 bytes exhausted (tried to allocate 256 bytes) in /home/electroteque/www/serendipity/plugins/serendipity_event_spartacus/serendipity_event_spartacus.php on line 172

Im trying to move my blog to a new host, however its so shitty and restrictive, is this trying to say the script is using 256 bytes but still causing an error ?? lol

Posted: Thu Apr 13, 2006 6:26 pm
by electroteque
this is odd i had to change the default of 8M for memory allocation to 16M ??

Posted: Fri Apr 14, 2006 12:14 am
by garvinhicking
Hi!

Yes, depending on your memory_limit and amount of plugins, you are restricted to only a specific amounts of plugins. Each plugins takes about 150-200kb Memory, and the s9y framework takes about 2MB. So you can count how many plugins you can use with 8MB. :-))

Best regards,
Garvin

Posted: Fri Apr 14, 2006 9:34 am
by jhermanns
garvinhicking wrote: Each plugins takes about 150-200kb Memory, and the s9y framework takes about 2MB.
We might want to work on this? :-) That's a pretty "impressive" memory footprint...

Posted: Sat Apr 15, 2006 2:43 pm
by garvinhicking
Jannis: Go ahead and work on this, please. :) I optimized this and could not optimize any further. 2MB footprint for a whole app framework isn't that much. But OOP costs memory, and every class / every plugin does as well. Plus our function library is quite large now. But quite impressive in terms of functionality as well :)))

Regards,
Garvin