I've attached sample code to reproduce the issue. However, it is dependent on a Magento server for the SOAP endpoint.
Here is the output I get on a Ubuntu 15.10 server with php5 5.6.11+dfsg-1ubuntu3.2 installed:
dave-barnes@datamart-dave:~/code/soap$ php client.php PHP Fatal error: Out of memory (allocated 2883584) (tried to allocate 4294967658 bytes) in /home/dave-barnes/code/soap/client.php on line 249 PHP Fatal error: Uncaught SoapFault exception: [Client] Out of memory (allocated 2883584) (tried to allocate 4294967658 bytes) in /home/dave-barnes/code/soap/client.php:249 Stack trace: #0 [internal function]: SoapClient->__doRequest('<?xml version="...', 'http://mage-tes...', 'urn:Action', 1, 0) #1 /home/dave-barnes/code/soap/client.php(249): SoapClient->__call('catalogProductL...', Array) #2 /home/dave-barnes/code/soap/client.php(249): SoapClient->catalogProductList('f13dac565d5c332...') #3 {main} thrown in /home/dave-barnes/code/soap/client.php on line 249
I've attached sample code to reproduce the issue. However, it is dependent on a Magento server for the SOAP endpoint.
Here is the output I get on a Ubuntu 15.10 server with php5 5.6.11+ dfsg-1ubuntu3. 2 installed:
dave-barnes@ datamart- dave:~/ code/soap$ php client.php barnes/ code/soap/ client. php on line 249 barnes/ code/soap/ client. php:249 >__doRequest( '<?xml version="...', 'http:// mage-tes. ..', 'urn:Action', 1, 0) barnes/ code/soap/ client. php(249) : SoapClient- >__call( 'catalogProduct L...', Array) barnes/ code/soap/ client. php(249) : SoapClient- >catalogProduct List('f13dac565 d5c332. ..') barnes/ code/soap/ client. php on line 249
PHP Fatal error: Out of memory (allocated 2883584) (tried to allocate 4294967658 bytes) in /home/dave-
PHP Fatal error: Uncaught SoapFault exception: [Client] Out of memory (allocated 2883584) (tried to allocate 4294967658 bytes) in /home/dave-
Stack trace:
#0 [internal function]: SoapClient-
#1 /home/dave-
#2 /home/dave-
#3 {main}
thrown in /home/dave-