Invalid conf pair
jasone at canonware.com
Thu Mar 17 10:45:32 PDT 2016
On Mar 17, 2016, at 9:17 AM, Jeffery Griffith <jeffery.griffith at gmail.com> wrote:
> My first attempt at trying to integrate jemalloc and I can't get out of the starting blocks :-) From what I read, it seems that I should be able to get jemalloc into the JVM with LD_PRELOAD and MALLOC_CONF as used below. I took the examples straight from the wiki but I must be missing something incredibly basic. I built the .so straight from the download with no problems (version 4.0) and my JVM does seem to run with it with no problem (radically lower virtual size and i can see the .so is loaded with pmap), but I clearly don't know what the hell I'm doing with MALLOC_CONF.
> jgriffith at mydevbox.c1.:~/JEMALLOC$ echo $LD_PRELOAD
> jgriffith at mydevbox.c1.:~/JEMALLOC$ echo $MALLOC_CONF
> jgriffith at mydevbox.c1.:~/JEMALLOC$ java -jar allocmemory.jar
> <jemalloc>: Invalid conf pair: prof:true
> <jemalloc>: Invalid conf pair: lg_prof_interval:30
> <jemalloc>: Invalid conf pair: lg_prof_sample:17
It looks like you didn't specify --enable-prof to the configure script.
More information about the jemalloc-discuss