RE: [SOAP] Memory usage
| From: | Lukas Smith | Date: | Wed, 19 Mar 2003 23:04:19 +0000 |
| Subject: | RE: [SOAP] Memory usage | ||
| References: | 1 | Groups: | php.soap |
| Request: | Send a blank email to php-soap+get-485@lists.php.net to get a copy of this message | ||
> From: Shane Caraveo [mailto:shane@caraveo.com]
> Sent: Wednesday, March 19, 2003 6:37 PM
> To: LIMBOURG Arnaud
> Cc: soap@lists.php.net
> Subject: Re: [SOAP] Memory usage
>
> I've noticed high memory usage when running the soap interop tests.
My
> assumption is that somewhere objects are not being passed by reference
> and copies are getting created. With limited time on my hands, and
PHP
> 5 looming (with features I want for soap) I haven't bothered tracking
> down what is going on.
> Shane
I don't know the specific code you are talking about. But if its PHP
code than using pass by reference will actually slow down your
application as odd as it may sound. This is due to the fact how
intelligent PHP4 handles assigning values to a variable via a reference
counter.
But maybe a performance guru can comment on this.
Regards,
Lukas