Use pageheap to detect errors