Memory leak even with 32gigs server
-
I have server with 32GB memory.
I try to debug what your plugin do with the server with this code:
add_filter( 'woocommerce_product_tabs', 'woocommerce_product_tabs_xxx', 99 ); function woocommerce_product_tabs_xxx($tabs){ print_r($tabs);// lets see what woodiscuz add to this hook return $tabs; }
When I turn off your plugin, it only show couple lines of “print_r”
But when your plugin activated it add very very very very huge amount of object to $tabs.
What is that? Even my server cant print all this object and crash in the middle.
- The topic ‘Memory leak even with 32gigs server’ is closed to new replies.