Build a bitmap of used pages in RAM