Skip to Content Skip to Menu

CB Gallery Error

  • Bergi
  • Bergi
  • OFFLINE
  • Posts: 10
  • Thanks: 0
  • Karma: 0
9 years 8 months ago #259241 by Bergi
CB Gallery Error was created by Bergi
Hello,

i tried to upload an image, but i got this error:

Fatal error: Allowed memory size of 100663296 bytes exhausted (tried to allocate 16000 bytes) in /home/gbgmjcqy/ebt2014.de/libraries/CBLib/Imagine/Gd/Image.php on line 606

Joomla-Version: 3.3.6
CB-Gallery-Version: 1.0.0
CB-Version: 2.0.6
Website: www.ebt2014.de

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

  • krileon
  • krileon
  • ONLINE
  • Posts: 48479
  • Thanks: 8282
  • Karma: 1443
9 years 8 months ago #259260 by krileon
Replied by krileon on topic CB Gallery Error
Processing images with GD is extremely heavy. If you upload a large image it takes a lot of memory to process it. You're hitting memory limits. Your current limit is set to 96MB it seams. You'll likely want to increase that to 124MB at minimum or decrease the maximum file size limit for photos so too large of files aren't being uploaded. Please see our FAQ below regarding memory limit.

www.joomlapolis.com/support/faq/101-support/18261-fatal-error-allowed-memory-size-of-xxx-bytes-exhausted-


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.

  • Bergi
  • Bergi
  • OFFLINE
  • Posts: 10
  • Thanks: 0
  • Karma: 0
9 years 8 months ago #259270 by Bergi
Replied by Bergi on topic CB Gallery Error
I tried to upload images, which are only 450KB large.
Can i process images without GD or other "tools", which doesnt take so much memory?
PhocaGallery runs well with my provider and php-settings.
I must pay for more PHP-Memory-Size. 5 EUR/Month to increase the Limit up to 152 MB.

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

  • krileon
  • krileon
  • ONLINE
  • Posts: 48479
  • Thanks: 8282
  • Karma: 1443
9 years 8 months ago - 9 years 8 months ago #259274 by krileon
Replied by krileon on topic CB Gallery Error
It depends entirely on what you have installed. Your memory limit is 96MB. If nearly all of that is being taken up already then there's not much left to process an image. Generally it takes 2-3 times the size of the image in memory to process (GD is not very efficient). You should have this same issue with an Image field as it all uses the same library in CB. Enable debug mode and maximum error reporting in Joomla global configuration then see the information at the bottom to see what your average page memory usage is.

PhocaGallery is not CB. It's maybe 1/10th the size of CB. It's just not comparable, sorry. CB will take more memory than PhocaGallery.


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.
Last edit: 9 years 8 months ago by krileon.

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

  • Bergi
  • Bergi
  • OFFLINE
  • Posts: 10
  • Thanks: 0
  • Karma: 0
9 years 8 months ago #259279 by Bergi
Replied by Bergi on topic CB Gallery Error
Hey,

yes, i get the same error, if i want to upload a new profile image.
Debug-Mode says average page memory usage is 28.21 MB (Edit Profile-Site).
Yes i know that PhocaGallery isnt CB, but it doesnt use GD.
Must i use GD? Is there an alternative?

I think i must change my provider....

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

  • krileon
  • krileon
  • ONLINE
  • Posts: 48479
  • Thanks: 8282
  • Karma: 1443
9 years 8 months ago #259285 by krileon
Replied by krileon on topic CB Gallery Error
No you don't have to use GD. You can change the image software within CB > Configuration > Images. We support GD2, ImageMagick, and Gmagick. However, your host is likely to only provide GD2 if you're on a budget hosting package. I'm currently using 128MB and having no memory issues even with all of products installed and Joomlas heavy debug mode enabled. So it's a bit weird you're hitting 96MB so easily unless something else in the background is consuming a lot of memory. You may want to contact your host and see if they can do a xdebug profile on it for you or some sort of memory monitoring tests to see what's going on.


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