Skip to Content Skip to Menu

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

Memory usage

  • fribse2011
  • fribse2011
  • OFFLINE
  • Posts: 921
  • Thanks: 79
  • Karma: 8
11 years 1 week ago #235700 by fribse2011
Memory usage was created by fribse2011
I've run into complications here at my site.
My webhotel has started enforcing memory usage constraints (they've always had them, but never enforced them), so now I've had to analyze a bit closer on what uses memory.
I've placed a module on the front page with CB Content, that shows if some fields are missing in the profile with CB Progress.
That alone uses 12 MB of ram, which seems excessive.
CB Content has this:
[cb:if cb_status!=""]<a href="/personlig/din-profil/userdetails.html">[cb:userfield field="cb_status" /]</a>[/cb:if]
Of course the measurement here is absolutely non-scientific, as I only have a total usage, and needs to clean cache and refresh to see a difference before and after reloading a page.
But it clearly indicative of usage.

Best regards
Fribse

Frømandsklubben Nikon, www.nikondyk.dk
We're a volunteer driven diving club in Ishøj, Denmark.
Har du brug for en dykkerklub der rummer alle, så kom ned til os.

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

  • krileon
  • krileon
  • ONLINE
  • Posts: 48473
  • Thanks: 8281
  • Karma: 1443
11 years 1 week ago #235759 by krileon
Replied by krileon on topic Memory usage
CB Content alone isn't consuming 12 MB, but all of CB is. It loads in CBs entire API library and all of CBs plugins (as they could have CB fields that would need to be substituted in). 12 MB for all of CB isn't much. The issue is really how much you have installed. The more extension you pile on the more it's going to consume; this is a common problem for Joomla installs as there is no install limitations so it's very easy for it to get out of hand. You shouldn't have any issues with a memory limit of say 64mb. If you're surpassing that then you likely have too much installed or something doing a very heavy query/php operation.


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