More work to avoid memory fragmentation.