-
Notifications
You must be signed in to change notification settings - Fork 33
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
PHP Soapclient memory issue #86
Comments
Hi @koen-php, I've not come across this myself before, I'll do some investigation and see if I can reproduce. If you could provide a small test script that demonstrates the issue that would be really helpful, thanks |
Here is a simple CLI script that will get the volume of 1 speaker every second. In the output you will see the result and the current memory usage. On my device, the used memory increases on every iteration with 120:
|
I've tracked that to an issue in the PHP extension itself, but not been able to solve yet, I'll let you know once I get anywhere with upstream |
Hi, I'm using your great library to continuously check updates in the status of different Sonos speakers. However, I notice that the memory usage keeps increasing and it seems to be related to the PHP SoapClient.
If I go into the Device.php and comment the Soap call to get e.g. the volume status, the used memory stabilizes:
$result = $soap->__soapCall($action, $soapParams);
Is this a known issue and what can I do about it?
The text was updated successfully, but these errors were encountered: