Re: removing APC memleak

From: Date: Thu, 01 May 2008 15:05:41 +0000
Subject: Re: removing APC memleak
References: 1 2 3 4  Groups: php.pecl.dev 
Request: Send a blank email to pecl-dev+get-5431@lists.php.net to get a copy of this message
Gopal V wrote:
Gregory Beaver wrote:
the class default_properties hash table definitions on shutdown in the garbage collection code, and no idea why, backtrace is useless to me, but you smarter folks may be able to do something with it. This is with latest 3.1-dev of APC and PHP_5_3 with pecl/phar CVS, apc and phar as shared modules
Symptom of a much larger problem, IMHO.
The larger problem aside, I'd like this patch to be tested (on APC_3_0). http://t3.dotgnu.info/code/zval_gc.patch Is a stupid, idiotic band-aid ... but knowing if that works or not for your case will make all the difference :) Seemed to work for a simple example, but I plan to split out the apc copy-in & copy-out functions in the HEAD branch - which was initially thought of to handle stdClass efficiently (in-wards is a hashtable copy not serialize, outwards is an stdClass ctor). But that'll have to wait for a better time than today. Cheers, Gopal -- Nothing makes a person more productive than the last minute.-

« previous php.pecl.dev (#5431) next »