Skip to Content Skip to Menu

🎃 Happy Halloween! Treat yourself with an awesome discount on memberships! Get 20% off now with code SPOOKY-2024!

How much memory do I need?

11 years 8 months ago - 11 years 8 months ago #220282 by stickleback
How much memory do I need? was created by stickleback
Hi - I'm running a CB site with a couple of other extensions. I've added JomWall and a Google calendar - you can see the site here .

I also have a forum (under the Bunker) and I had a really nice extension "RokMiniEvents" which ran a scrolling version of the Google Calendar on the home page and a couple of other pages...

Here's the thing - I kept running out of memory - and had to keep reducing the number of events being displayed in the RME extension. Eventually I've reached a point where I had top remove the extension altogether - and even so - the forum extension will not load. The forum is the kunena forum....

I tried to add a live weather extension (RokWeather) and this just caused the site to crash every time.

Each time the error message I get is an "out of memory - tried to load, blah, blah" and the location of the crash seems to change every time - so it just seems like there's not enough memory and the process crashes at a certain stage as the page loads... but this isn't always the same place - which suggests to me that it is not a specific issue with a specific file but rather a "I can't cope....." kind of thing.

My server has 64MB and the site is set to 64MB - and this clearly seems to not be enough.

I'm looking to migrate the site to another server - my current server doesn't have more than 64MB packages available and I wondered what your recommendations would be as to a minimum and an optimum level - I don't want to be in the same situation in a couple of months....

Thanks for your help
Last edit: 11 years 8 months ago by stickleback.

Please Log in or Create an account to join the conversation.

  • krileon
  • krileon
  • ONLINE
  • Posts: 48456
  • Thanks: 8280
  • Karma: 1443
11 years 8 months ago #220308 by krileon
Replied by krileon on topic How much memory do I need?
It depends entirely on what you have installed and how efficient it is. For Joomla 3.0 + CB + Kunena for example I suggest no less than 32mb, but once you start adding CB plugins and other extensions there really is no way of judging how much you need. What you can do, if you know how or hire someone to do, is use xDebug Profiler to profile your site and see where all the memory consumption is coming from exactly.

For example off the top of my head some of the heavier plugins we offer are as follows.

CB GroupJive
CB Conditional
CB Auto Actions

All 3 of the above, depending on configuration, can consume large memory. For example if I have 500 groups in GJ then that's 500 groups that need access permission processed. If I have 30 fields all configured with conditionals then all display triggers for all 30 will be processed by CB Conditional. If I've 15 Auto Actions then that's 15 triggers processed, substitutions applied, models loaded, models executed on those triggers.


Kyle (Krileon)
Community Builder Team Member
Before posting on forums: Read FAQ thoroughly + Read our Documentation + Search the forums
CB links: Documentation - Localization - CB Quickstart - CB Paid Subscriptions - Add-Ons - Forge
--
If you are a Professional, Developer, or CB Paid Subscriptions subscriber and have a support issue please always post in your respective support forums for best results!
--
If I've missed your support post with a delay of 3 days or greater and are a Professional, Developer, or CBSubs subscriber please send me a private message with your thread and will reply when possible!
--
Please note I am available Monday - Friday from 8:00 AM CST to 4:00 PM CST. I am away on weekends (Saturday and Sunday) and if I've missed your post on or before a weekend after business hours please wait for the next following business day (Monday) and will get to your issue as soon as possible, thank you.
--
My role here is to provide guidance and assistance. I cannot provide custom code for each custom requirement. Please do not inquire me about custom development.

Please Log in or Create an account to join the conversation.

Moderators: beatnantkrileon
Powered by Kunena Forum