Use getCurrentThreadID() rather than pthread_self() in MemoryIdler