Re: how to find a memory corruption in php ?
| From: | Pascal COURTOIS | Date: | Fri, 01 Apr 2011 16:46:33 +0000 |
| Subject: | Re: how to find a memory corruption in php ? | ||
| References: | 1 2 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-51790@lists.php.net to get a copy of this message | ||
Le 01/04/2011 15:20, Pierre Joye a écrit :
> hi,
>
> In php 5.3+ the memory limit default is 256MB, not 128MB. 5.3 does not
> necessary use more memory but actually uses and reports its usage more
> efficiently. I would suggest to use this default value and try again.
the exact same bug occurs whatever the limit set. Anyway, when it works
it's ok with 6MB so it's not a matter of quantity obviously.
> About detecting leaks and memory corruptions, valgrind is a good tool
> to begin with.
It take a look at it.
Thanks