Possible SOAP memory leak

admin

Administrator
Staff member
I was hoping to get some feedback from some of the more veteran developers here. I run a series of scripts on our production server which connect to salesforce.com over their API via SOAP and retrieves all data to store in a local Oracle database. These scripts have been in production for over 6 months.

The development and production servers are running PHP 5.2.0 and have been for sometime.

The scripts have been working flawlessly then our linux admin's upgraded the server to PHP 5.2.1. I noticed that some of the scripts were not working or crashing.

I don't want to bore everyone with this long winded error, can you please check it out at:

<!-- m --><a class="postlink" href="http://www.mikesimonds.com/php-soap-problems-versions-5-2-1-5-2-3-a-t50.html">http://www.mikesimonds.com/php-soap-pro ... a-t50.html</a><!-- m -->

Thanks in advance

MikeLooks like the script uses too much memory.
That leaves 3 possible causes:

- It always used this much memory, so the php.ini was adjusted to allow a lot of MB's. Maybe the sysadmin replaced the php.ini or changed it?
- SOAP is broken or less memory efficient in the new version. Search the bug database on php.net
- The soap server is sending a huge SOAP request that keeps killing your script.

Perhaps turning up the memory limit is enough to fix it.
 
Back
Top