checked improved memory allocation profile with massif