Re: persistent memory management
| From: | Alexey Zakhlestin | Date: | Sun, 03 Dec 2006 09:41:09 +0000 |
| Subject: | Re: persistent memory management | ||
| References: | 1 2 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-26769@lists.php.net to get a copy of this message | ||
On 12/3/06, Andrey Hristov <php@hristov.com> wrote:
Tried running the web server under memory checker like valgrind?Valgrind is linux only.. But I guess I still have one linux box.. I will give it a try.
Maybe instead of peamlloc() just do malloc() well.. I can do that for clarity, but zend_alloc.h has this:#define pemalloc(size, persistent) ((persistent)?malloc(size):emalloc(size)) so, it basically maps -- Alexey Zakhlestin http://blog.milkfarmsoft.com/