Re: Memory leaks
| От | Hannu Krosing |
|---|---|
| Тема | Re: Memory leaks |
| Дата | |
| Msg-id | 1035319001.3708.1.camel@rh72.home.ee обсуждение исходный текст |
| Ответ на | Re: Memory leaks (Tom Lane <tgl@sss.pgh.pa.us>) |
| Список | pgsql-hackers |
On Wed, 2002-10-23 at 03:09, Tom Lane wrote: > It's fairly difficult to get anywhere with standard leak-tracking tools, > since they don't know anything about palloc. What's worse, it is *not* > a bug for a routine to palloc space it never pfrees, if it knows that > it's palloc'ing in a short-lived memory context. The fact that a > context may be released with much still-allocated memory in it is not a > bug but a feature; but try teaching that to any standard leak checker... Seems that Valgrind should have no problems with it, as it tracks actual usage of _memory_ (down to single bits :)) , not malloc/free. See: http://developer.kde.org/~sewardj/ --------------- Hannu
В списке pgsql-hackers по дате отправления: