Migrated to stl smart pointer & Memory analyzed