Sorry for my english :)
I have NuSOAP version 0.9.5. And I have had an php error when tried to get a big data:
PHP Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 27255652 bytes)
Stack trace shows that problem was in varDump method.
My solution is:
I have changed varDump method (in nusoap.php) to:
function varDump($data) {
$ret_val = "";
if ($this->debugLevel > 0) {
ob_start();
var_dump($data);
$ret_val = ob_get_contents();
ob_end_clean();
}
return $ret_val;
}
and then reset
$GLOBALS['_transient']['static']['nusoap_base']['globalDebugLevel']
to 0 (from 9). In class.nusoap_base.php and nusoap.php.
This helped me.
Does anyone have any comments on this? Or maybe better solution?