PS: I've also tried LD_PRELOADING tcmalloc_minimal.so as Google's malloc library generally performs better than glibc's in multithreaded programs. It seems to delay the onset of the problem but doesn't cure it.
PS: I've also tried LD_PRELOADING tcmalloc_minimal.so as Google's malloc library generally performs better than glibc's in multithreaded programs. It seems to delay the onset of the problem but doesn't cure it.