• We value your experience with Plesk during 2025
    Plesk strives to perform even better in 2026. To help us improve further, please answer a few questions about your experience with Plesk Obsidian 2025.
    Please take this short survey:

    https://survey.webpros.com/

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