RE: [SOAP] Memory usage in pear soap 0.7.1
| From: | Paul Miller | Date: | Thu, 03 Apr 2003 22:21:12 +0000 |
| Subject: | RE: [SOAP] Memory usage in pear soap 0.7.1 | ||
| References: | 1 | Groups: | php.soap |
| Request: | Send a blank email to php-soap+get-526@lists.php.net to get a copy of this message | ||
Quote from Shane:
There are still some memory issues that have to be dealt with in the soap
library. This is in part to the OO support in PHP4, and hopefully PHP5 will
work much better with
soap.
- Paul
-----Original Message-----
From: Joel Vorpagel [mailto:jman_75_99@yahoo.com]
Sent: Thursday, April 03, 2003 4:18 PM
To: soap@lists.php.net
Subject: [SOAP] Memory usage in pear soap 0.7.1
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
--
PHP Soap Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php