Optimized freeProcess