Tune memory allocator