• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion
  • Inviting everyone to the UX test of a new security feature in the WP Toolkit
    For WordPress site owners, threats posed by hackers are ever-present. Because of this, we are developing a new security feature for the WP Toolkit. If the topic of WordPress website security is relevant to you, we would be grateful if you could share your experience and help us test the usability of this feature. We invite you to join us for a 1-hour online session via Google Meet. Select a convenient meeting time with our friendly UX staff here.

Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 9600

O

om4knowledge

Guest
What does it mean?

Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 9600 bytes) in /usr/local/sitebuilder/include/PEAR/Image/Transform/Driver/GD.php on line 146

I received this error when attempting to upload a single photo.
 
It looks like there is not enough memory for file uploading. Try to increase it in php.ini configuration file. I will show you on the example, how to make sure that appropriate configuration file is used:

# sb_config --help|grep php
--phpcli_path PHP CLI executable [/opt/php52/bin/php5]
--phpcgi_path PHP CGI executable [/opt/php52/cgi-bin/php5]
# /opt/php52/bin/php5 -i|grep php.ini
Configuration File (php.ini) Path => /opt/php52/etc/php.ini

Open file /opt/php52/etc/php.ini with editor and find following directive:

memory_limit = 32M ; Maximum amount of memory a script may consume (16MB)

Increase it, for example, to 64M, restart apache service and try upload one more time.
 
Back
Top