Bad impact of memory_limit set to -1 ?
am 25.09.2009 14:18:07 von Manuel Vacelet
Hi all,
I fighting with SoapServer to be able to upload large file base64 encoded.
Every so often I get memory exhausted error messages and
memory_get_usage() tells me that my script starts with more than 250MB
allocated (for a soap request of 85MB!).
I'm wondering if I would let memory_limit unbound (-1) to avoid those
issues but I don't know what would be the consequences (esp. on
apaches processes, total allocated memory, etc).
Any advice ?
Thanks,
Manuel
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Re: Bad impact of memory_limit set to -1 ?
am 28.09.2009 12:53:25 von Manuel Vacelet
On Fri, Sep 25, 2009 at 2:18 PM, Manuel Vacelet
wrote:
> Hi all,
>
> I fighting with SoapServer to be able to upload large file base64 encoded.
> Every so often I get memory exhausted error messages and
> memory_get_usage() tells me that my script starts with more than 250MB
> allocated (for a soap request of 85MB!).
>
> I'm wondering if I would let memory_limit unbound (-1) to avoid those
> issues but I don't know what would be the consequences (esp. on
> apaches processes, total allocated memory, etc).
>
> Any advice ?
> Thanks,
> Manuel
Hi,
I've read somewhere that increasing memory_limit can affect server's
ability to handle concurrency.
Is it urban legends or is it correct ?
And if it's correct, what about setting it to -1 ?
Manuel
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php