Retrodisco Posted December 1, 2020 Share Posted December 1, 2020 Database update gives this error below, is this a hosting issue? Fatal error: Allowed memory size of 536870912 bytes exhausted (tried to allocate 83886080 bytes) in /home/citybugs/public_html/classes/cache/cache.class.php on line 267 Link to comment Share on other sites More sharing options...
bsmither Posted December 1, 2020 Share Posted December 1, 2020 Please indicate what version of CubeCart this happens with. The cache.class.php file for CC641 does not have line 267. Link to comment Share on other sites More sharing options...
Retrodisco Posted December 1, 2020 Author Share Posted December 1, 2020 I'm updating from 641 to 642 Link to comment Share on other sites More sharing options...
bsmither Posted December 1, 2020 Share Posted December 1, 2020 The cache.class.php for CC642 has a line 267. That line is merging two arrays, preparing to clear the cache. The error is trying to manage an array consisting of 80MiB of strings (of filenames). That's insane. Either you have a bazilion filenames in the /cache/ directory, or there is something that a recent edit to this function is causing massive memory usage. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.