Re: [PHP-DEV] Memory management ...

2011-08-04 Thread Johannes Schlüter
On Thu, 2011-08-04 at 12:36 +0100, Lester Caine wrote: > Ferenc Kovacs wrote: > > so to address your question: if you unset your variables you can > > reclaim memory, but there could be edge cases, when you will memory > > leak before version 5.3. > > So it looks like I'm not hitting any edge case

Re: [PHP-DEV] Memory management ...

2011-08-04 Thread Lester Caine
Ferenc Kovacs wrote: so to address your question: if you unset your variables you can reclaim memory, but there could be edge cases, when you will memory leak before version 5.3. So it looks like I'm not hitting any edge cases in the earlier code as some sites have been running for years witho

Re: [PHP-DEV] Memory management ...

2011-08-04 Thread Ferenc Kovacs
On Thu, Aug 4, 2011 at 12:17 PM, Lester Caine wrote: > I'm still trying to get my head around this 'Weak Reference' thing, but > since I'm still working to be compatible with PHP5.2 then I've not taken > much notice of this 'garbage collection' stuff. So this may be where I am > missing something?

[PHP-DEV] Memory management ...

2011-08-04 Thread Lester Caine
I'm still trying to get my head around this 'Weak Reference' thing, but since I'm still working to be compatible with PHP5.2 then I've not taken much notice of this 'garbage collection' stuff. So this may be where I am missing something? I manage what material I need using a list of numbers, and