Optimized Task-manager memory version