Use a partition to reduce memory footprint