Re: Memory Leaks with Objects (no circular reference)
| From: | Dmitry Stogov | Date: | Mon, 09 Mar 2009 10:31:24 +0000 |
| Subject: | Re: Memory Leaks with Objects (no circular reference) | ||
| References: | 1 2 3 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-43280@lists.php.net to get a copy of this message | ||
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 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 there any way to force PHP to free that space up ? Regards, ~IF.