Memory usage in pear soap 0.7.1

From: Date: Thu, 03 Apr 2003 22:17:41 +0000
Subject: Memory usage in pear soap 0.7.1
Groups: php.soap 
Request: Send a blank email to php-soap+get-525@lists.php.net to get a copy of this message
Hello, Can anyone help me out with a memory usage problem? I'm using RedHat linux, php 4.3.1, and pear soap 0.7.1. I've noticed a significant amount of memory usage that grows as my process runs. I have a batch process that has to use soap to call a server method several times (looping) in a single script to retrieve string messages. Even when I strip this down to a basic echoStringSimple function it appears that memory usage is growing. Is there something that can be done to free memory? If not has anyone looked into this? Thanks in advance, Joel p.s. This script below uses over 11M of memory before it completes! <?php require_once('SOAP/Client.php'); $soapclient = new SOAP_Client('http://localhost/SimpleServer.php'); $options = array('namespace'=>'urn:SOAP_Example_Server','trace'=> 1); $params = array('inputString'=>'Hello World'); $i=0; while($i<200) { $i++; $ret = $soapclient->call('echoStringSimple', $params , $options); } ?> __________________________________________________ Do you Yahoo!? Yahoo! Tax Center - File online, calculators, forms, and more http://tax.yahoo.com

« previous php.soap (#525) next »