• Debian 11 has reached its end-of-life (vendor EOL date - August 31, 2026). Plesk Obsidian 18.0.81 is the last release to support it.
    If you are running Plesk Obsidian on Debian 11, we recommend you upgrade those servers to Debian 12 using our dist-upgrade tool.
  • We plan to deprecate and remove the support for XML RPC protocol versions earlier than 1.6.9.1 in Plesk Obsidian 18.0.82. We strongly recommend that you update all existing integrations using earlier versions of the XML RPC protocol to comply with the version 1.6.9.1 specification.

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