Skip to Content Skip to Menu

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

Allowed memory exhausted

  • sacromar
  • sacromar
  • OFFLINE
  • Posts: 38
  • Thanks: 0
  • Karma: 0
8 years 2 weeks ago #286870 by sacromar
Allowed memory exhausted was created by sacromar
Hi, I find this error when CB show more than 100 users: Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 72 bytes) in /var/www/vhosts/...../httpdocs/libraries/CBLib/CBLib/Language/CBTxt.php on line 349

I could try to use a server that allows me a greater memory allocation, but I would like to solve the problem, because it seems strange that with so few users to display come out this error.
What do you advise me to do?
Thank you

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

  • krileon
  • krileon
  • ONLINE
  • Posts: 48454
  • Thanks: 8280
  • Karma: 1443
8 years 2 weeks ago #286877 by krileon
Replied by krileon on topic Allowed memory exhausted
Depending on what you've installed there's probably a lot of code executing per user. For example CB Privacy and CB Conditional usages could be heavy depending on the usage per user. You can try increasing memory limits to 256mb or limit your userlist to display a number of users within your sites memory limits. Note this is in addition to whatever memory has already be used by Joomla it self and other installed extensions (the more you install the quicker the memory usage adds up).


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.

  • sacromar
  • sacromar
  • OFFLINE
  • Posts: 38
  • Thanks: 0
  • Karma: 0
8 years 2 weeks ago #286882 by sacromar
Replied by sacromar on topic Allowed memory exhausted
How can I limit my userlist to display a number of users within my php memory limits?

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

  • krileon
  • krileon
  • ONLINE
  • Posts: 48454
  • Thanks: 8280
  • Karma: 1443
8 years 2 weeks ago #286887 by krileon
Replied by krileon on topic Allowed memory exhausted
If 100 is too much then edit your userlist within CB > List Management and under Parameters > Paging set "Number of entries per page" to something like 50.


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