slice eat memory