• 1315 images targetted for watermark in bulk process.
    Stopped at 1070 images with pop up ‘Error!’ message.
    Viewed server error log for bit of insight:
    Fatal error: Allowed memory size of 201326592 bytes exhausted (tried to allocate 18432 bytes) in /home/sites/<domain>/public_html/wp-content/plugins/easy-watermark/lib/EasyWatermark.php on line 745: /home/sites/<domain>/public_html/wp-admin/admin-ajax.php
    So, script falls over when the 201Mb of memory are used up.
    My solution: created a php.ini file in the public_html directory with the following:
    memory_limit = 256M;
    Created a phpinfo.php file with phpinfo(); in the same directory and checked the memory_limit setting had changed to 256M
    Ran the watermark script again, and successful execution!

    https://ww.wp.xz.cn/plugins/easy-watermark/

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thanks mate, had a similar issue but it would fail before watermarking even one image. Increasing the memory limit worked for me!

    Here also problems with watermarking a jpeg image. It wants to use 268435456bytes(256mb) for watermarking a single image. Look like there is a memory leak somewhere. My site is on dedicated virtual server, i do not want to increase php memory. 128mb memory is the limit with most hosters, my server has 256.

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Error! message on bulk watermark’ is closed to new replies.