|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2013-12-05 11:28 UTC] benoit dot montuelle at gmail dot com
[2020-10-23 12:44 UTC] cmb@php.net
-Status: Open
+Status: Feedback
[2020-10-23 12:44 UTC] cmb@php.net
[2020-10-23 21:21 UTC] jrbasso at gmail dot com
[2020-11-01 04:22 UTC] php-bugs at lists dot php dot net
|
|||||||||||||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Thu Nov 06 11:00:01 2025 UTC |
Description: ------------ Randomly the SoapClient constructor is trying to allocate huge amounts of memory and causing the error Error: Allowed memory size of 268435456 bytes exhausted (tried to allocate 18446744072233156736 bytes) The amount goes from 2GB to numbers like above. This started to happen when we switched from 5.3.10 to 5.3.13 (and now 5.3.14). I am not able to reproduce the error easily, once it do not happens in all the requests. The constructor is always called with the same parameters. Soap configuration: Soap Client enabled Soap Server enabled Directive Local Value soap.wsdl_cache 1 soap.wsdl_cache_dir /tmp soap.wsdl_cache_enabled 1 soap.wsdl_cache_limit 5 soap.wsdl_cache_ttl 86400 Test script: --------------- $soap = new SoapClient('https://ics2ws.ic3.com/commerce/1.x/transactionProcessor/CyberSourceTransaction_1.47.wsdl', array('merchantId' => '???', 'transactionKey' => '???'));