Closed GoogleCodeExporter closed 9 years ago
I don't think it's appropriate for libraries (as opposed to binaries) to
reserve signals, but it wouldn't be hard to add such a signal handler to your
own binaries. Alternately, if you suspect a memory leak, you could run with
flag options that tell tcmalloc to more aggressively give memory back to the
system. Or you could run in HEAPCHECKER mode.
In general, my bias is to keep library APIs as small as possible, and given
there are several ways to achieve this effect, my feeling is it's not necessary
to add a new function to the library.
Original comment by csilv...@gmail.com
on 22 Sep 2010 at 3:51
Original issue reported on code.google.com by
jsceballos
on 22 Sep 2010 at 9:52