High Memory Requirements for Large Databases
-
I have a large database of products in Woo Commerce and I am having huge load times and huge memory requirements when loading the Conditions Section of the edit page. Everywhere else seems reasonable. The error log reported memory limit issues, and I raised it afterwards:
[04-Jan-2017 07:57:02 UTC] PHP Fatal error: Allowed memory size of 1073741824 bytes exhausted (tried to allocate 20480 bytes)
Query Monitor shows a peak usage of 1,012,778 kB and a generation time of 27.0291 seconds. However, if I disable the “include( wcff()->info[‘path’] . ‘views/meta_box_conditions.php’ );” call (wcff-post-form.php:83) the usage drops off to 53,516 kB and 0.8610 second generation time.
For large databases the individual product conditionals could be disabled and category, tag, and types used in its place. Could this setting be added to a future version of the plugin?
The topic ‘High Memory Requirements for Large Databases’ is closed to new replies.