Page 1 of 1

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

Posted: Thu Jul 24, 2008 10:55 am
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?

Posted: Thu Jul 24, 2008 2:53 pm
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.

Posted: Thu Jul 24, 2008 4:58 pm
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

Posted: Fri Jul 25, 2008 3:49 pm
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?

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

Posted: Thu Jul 31, 2008 7:45 pm
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

Posted: Mon Aug 04, 2008 3:13 pm
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).

Thanks

Posted: Mon Aug 04, 2008 4:37 pm
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