enable profiling for memory leaks
edsiper at gmail.com
Mon Nov 25 08:54:31 PST 2013
thanks! that worked :)
On Mon, Nov 25, 2013 at 10:40 AM, Jason Evans <jasone at canonware.com> wrote:
> On Nov 24, 2013, at 11:56 PM, Eduardo Silva <edsiper at gmail.com> wrote:
> > i have just integrated jemalloc in our open source project. I have
> linked jemalloc statically and after some tests i am not able to get any
> profiling file for analysis.
> > jemalloc configure:
> > ./configure --enable-prof --with-jemalloc-prefix=je_
> > once compiled and linked to my sources i do:
> > $ MALLOC_CONF=prof_leak:true,prof:true bin/monkey
> > but on exit there is no details, do i am missing some steps ?
> The prefix also applies to the environment variable you set. Try:
> JE_MALLOC_CONF=prof_leak:true,prof:true bin/monkey
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the jemalloc-discuss