[master] + fix issues found when setting PooledMemoryManager as default mm