• Unfortunately, I could not get it to work. I tried to scan only 1 month’s worth of pictures from the uploads folder as you suggested. And it gave me an error.

    When I checked the error log, I see this error.

    [NOTICE] [-1#domain.tld] [STDERR] PHP Fatal error:  Allowed memory size of 268435456 bytes exhausted (tried to allocate 20480 bytes) in public_html/wp-includes/wp-db.php on line 1989
    [NOTICE] [-1#domain.tld] [STDERR] PHP Fatal error:  Allowed memory size of 268435456 bytes exhausted (tried to allocate 20480 bytes) in public_html/wp-includes/class-wp-user.php on line 515
    [NOTICE] [-1#domain.tld] [STDERR] PHP Fatal error:  Allowed memory size of 268435456 bytes exhausted (tried to allocate 61440 bytes) in Unknown on line 0
Viewing 1 replies (of 1 total)
  • Plugin Author erolsk8

    (@erolsk8)

    Hey @attiqfsd, yes, this plugin is more focused on loading all files at once and importing all at once, so it’s not so good when there are too many files.

    But I just pushed a new 1.2.0 version which should improve memory usage. I also added new “Turn on debugging” in settings, which would show memory usage at various stages.

    For now, I optimized actual directory scanning in the backend, but rendering all of those results in UI can still reach memory limits. So there are still many more improvements to be made, but it takes a lot of time, so this is it for now.

    And I guess you already found an alternative, but just wanted to let you know. Or anyone else that might check this because they have the same issue.

    Thank you for the detailed explanation and error logs.

    Erol

Viewing 1 replies (of 1 total)
  • The topic ‘Uses too much memory’ is closed to new replies.