Allowed memory size of 8388608 bytes exhausted error ??

Random stuff about serendipity. Discussion, Questions, Paraphernalia.
Post Reply
electroteque
Regular
Posts: 58
Joined: Tue Jan 17, 2006 2:13 am

Allowed memory size of 8388608 bytes exhausted error ??

Post 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
electroteque
Regular
Posts: 58
Joined: Tue Jan 17, 2006 2:13 am

Post by electroteque »

this is odd i had to change the default of 8M for memory allocation to 16M ??
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Post 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
# 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/
jhermanns
Site Admin
Posts: 378
Joined: Tue Apr 01, 2003 11:28 pm
Location: Berlin, Germany
Contact:

Post 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...
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Post 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
# 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/
Post Reply