On Mon, Mar 15, 2021 at 12:32 PM Rasmus Munk Larsen <[email protected]> wrote:
> Have you considered using a more general purpose solution like tcmalloc or > jemalloc? > > https://github.com/google/tcmalloc > https://github.com/jemalloc/jemalloc > FWIW, on a side note, jemalloc required defining EIGEN_MALLOC_ALREADY_ALIGNED to 0 the last time I tried it because its allocator didn't guarantee always 16-byte aligned pointers. For really small allocations, it can return 8-byte aligned pointers. -Edward
