Hi,
I'm trying to avoid the memory leak in PHP. When I create a object and unset it at the end it's still in memory. The unset looks like:
$obj = NULL;
unset($obj);
Still this will not help.
My question is what will happen when I fork the proccess and the object will be created and destructed in the child thread? Will this be the same? Or is there any other way how the free the memory?
This is the import script which will consume few gigs of ram.