Is it sufficient to link in jemalloc at compile time (i.e. -ljemalloc) if I want it to be used by STL containers? Or do I need to specify the allocator, as in: typedef std::list<int, malloc_alloc> mylist; Forgive me if this was already answered in the documentation. I could not find it.