Spartacus plugin and themes = no theme config (mem?)

Creating and modifying plugins.
Post Reply
Mekk
Regular
Posts: 54
Joined: Tue Jul 22, 2008 7:53 pm
Contact:

Spartacus plugin and themes = no theme config (mem?)

Post by Mekk »

In short:
- spartacus plugin is enabled, downloading plugins works correctly
- when I disable theme download in spartacus plugin preferences, theme selection works correctly
- when I enable theme download in spartacus plugin preferences, I can't open the theme selection window at all (click to Manage Styles results in textual info that some index file was downloaded, without the resulting window being open at all)

The explanation is likely in the logs:

PHP Fatal error: Allowed memory size of 16777216 bytes exhausted (tried to allocate 71 bytes) in /home/marcink/moj_web_blog/data/plugins/serendipity_event_spartacus/serendipity_event_spartacus.php on line 260

So I have:

- a question: how much memory is currently needed to handle this very case (= which memory_limit people who are able to open this have in php.ini)

- a suggestion: maybe this code is worth looking at to reduce memory requirements a little bit?
judebert
Regular
Posts: 2478
Joined: Sat Oct 15, 2005 6:57 am
Location: Orlando, FL
Contact:

Post by judebert »

Whoa. Usually 10M is enough.

I think I bumped mine up to 32M, because I've got some REALLY big images.

We'll look into the code. In the meantime, I suggest doubling your PHP memory limit, just as you noted.
Judebert
---
Website | Wishlist | PayPal
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Post by garvinhicking »

Hi!

Also, the amount of s9y's ram usage is very dependant on the amount of event plugins you are using. Each takes about roughly 500k - 1MB in RAM...

Spartacus itself can take up to 4-5MB space.

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/
Mekk
Regular
Posts: 54
Joined: Tue Jul 22, 2008 7:53 pm
Contact:

Post by Mekk »

Some notes:

- while working with 16MB limit I finally got this error on event plugins too
- after switch to 32MB the problem seems to be gone (both with themes and with plugins)

My bet: there are quite a lot of plugins and themes, if they are loaded as a whole, with descriptions and images, it may matter....


PS Counting memory makes sense, I hope I am not the only one running serendipity on VPS?
rcrrich
Regular
Posts: 7
Joined: Sun Jun 29, 2008 4:16 pm

Can you please tell me or show me the link to down SPARTACUS

Post by rcrrich »

garvinhicking wrote:Hi!

Also, the amount of s9y's ram usage is very dependant on the amount of event plugins you are using. Each takes about roughly 500k - 1MB in RAM...

Spartacus itself can take up to 4-5MB space.

Regards,
Garvin
I can't seem to find the install file to add SPARTACUS to my Serendipity blog?? can you sent me the link please
judebert
Regular
Posts: 2478
Joined: Sat Oct 15, 2005 6:57 am
Location: Orlando, FL
Contact:

Post by judebert »

SPARTACUS is an event plugin. In your admin page, go to Configure Plugins, then add a new event plugin (just below the list of sidebar plugins).
Judebert
---
Website | Wishlist | PayPal
rcrrich
Regular
Posts: 7
Joined: Sun Jun 29, 2008 4:16 pm

Thanks

Post by rcrrich »

judebert wrote:SPARTACUS is an event plugin. In your admin page, go to Configure Plugins, then add a new event plugin (just below the list of sidebar plugins).
Thanks a mil
Post Reply