Simulates demand paging done by an operating system.