Support » Plugin: Thumbnail Cleaner » Memory concern

  • Found your plug-in and tried it, but I got a fatal error:

    Fatal error: Allowed memory size of 536870912 bytes exhausted (tried to allocate 51582823 bytes) in /home/nbd610/public_html/wp-content/plugins/thumbnail-cleaner/classes/thumbnail-cleaner.php on line 82

    I saw on another thread that someone had a large amount of files to process but it didn’t go. I think I might have a similar amount: 47160 files (1,258.89 MB) after I ran the analyzer.

    What would I need to do to allow this to work? I’d really like to take advantage of this, and I see it’s helped others.

Viewing 1 replies (of 1 total)
  • Plugin Author thaikolja

    (@thaikolja)

    Easy answer: It’s my fault. The functions that are being used for creating a backup into a .zip file run as a single process, using more and more of your server’s memory. In the next version, this will be gone, I’m planning to split the processes so that even users with small allowed memory sizes can use it properly.

    What you can do:

    1. Put ini_set('memory_limit', '-1'); into your functions.php and see if it works. If not, go to step 2.
    2. Ask your server provider to open the php.ini of your server and increase the value for memory_limit.

    That’s basically all you can do at this moment.

Viewing 1 replies (of 1 total)
  • The topic ‘Memory concern’ is closed to new replies.