Re: Bad impact of memory_limit set to -1 ?
| From: | Manuel Vacelet | Date: | Mon, 28 Sep 2009 10:53:25 +0000 |
| Subject: | Re: Bad impact of memory_limit set to -1 ? | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-298383@lists.php.net to get a copy of this message | ||
On Fri, Sep 25, 2009 at 2:18 PM, Manuel Vacelet
<manuel.vacelet@gmail.com> 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