kontrabass
Well-known member
My hourly cleanup task run at :10 after every hour is creating a php fatal error every time:
(ErrorException: Fatal Error: Allowed memory size of 536870912 bytes exhausted (tried to allocate 2097152 bytes) - library/XenForo/Model.php:223)
I'm not sure, but I SUSPECT that it's because I recently changed my "Image Cache Lifetime" setting from 0 (unlimited) to 30 days. My image cache has well over a million images. Maybe the hourly cleanup is running out of memory trying to clear out my image proxy cache? Is there a better way to trim down the image proxy cache?
(ErrorException: Fatal Error: Allowed memory size of 536870912 bytes exhausted (tried to allocate 2097152 bytes) - library/XenForo/Model.php:223)
I'm not sure, but I SUSPECT that it's because I recently changed my "Image Cache Lifetime" setting from 0 (unlimited) to 30 days. My image cache has well over a million images. Maybe the hourly cleanup is running out of memory trying to clear out my image proxy cache? Is there a better way to trim down the image proxy cache?