add heap-mem-thread