Hi,
these caches can't grow over some internal limits and they can't take
128M. It may be some other source of the problem. Could you create a
script which reproduces memory overflow?
Thanks. Dmitry.
Igor Feghali wrote:
Hello Dmitry,
Thank you for your answer. The problem comes when you pu
Hello Dmitry,
Thank you for your answer. The problem comes when you put that piece
of code inside a Daemon that is supposed to run 24h/7 days. The
reserved memory increases at each loop, never gets freed, and in about
1~2 days the process dies because it reaches the memory limit of
128MB.
Isn't t
Hi Igor,
It's definitely not a memory leak. The memory manager in php-5.2 was
changed so it behaves little bit different. BTW: both 5.1 and 5.2 use
some caches of the chunks with most useful sizes. They allow to
eliminate annecessury free()/malloc() calls and speedup the whole
system. memory_
Hi,
I am facing some memory leaks with php 5.1.6 that has been fixed in
5.2.0. So I suppose the fix should be somewhere between those
versions, but I couldn't find exactly which line in the NEWS file is
that.
Output for 5.1.6:
--- 9 ---
44712
44784
44848
44912
44976
--- 8 ---
45008
45008
45008