The code prompted of insufficient memory by execution of parallel process