• Plesk Uservoice will be deprecated by October. Moving forward, all product feature requests and improvement suggestions will be managed through our new platform Plesk Productboard.
    To continue sharing your ideas and feedback, please visit features.plesk.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