• Hi there,

    I was having trouble to use your plugin as i was trying to export all orders at once. Though my hosting had around 2GB memory_limit set, it was always failing at 512M.

    Finally after inspecting the plugin code. I found you have hardcoded the memory_limit to 512M in \classes\formats\class-woe-formatter-xls.php file at line number 259.

    			//more memory for XLS?
    			ini_set( 'memory_limit', '512M' );

    Maybe you can come up with a better idea on this ?

Viewing 1 replies (of 1 total)
  • Plugin Author algol.plus

    (@algolplus)

    hi

    please, open section “Misc Settings” and add this code.

    add_action( 'woe_xls_PHPExcel_setup', function($objPHPExcel, $settings ){
      ini_set( 'memory_limit', '2048M' );
    },10,2);
    ?
Viewing 1 replies (of 1 total)
  • The topic ‘Maximum Memor Limit is set to 512M in plugin code’ is closed to new replies.