When does Page Fault occur?

By BYJU'S Exam Prep

Updated on: September 25th, 2023

The page fault occurs when a program tries to access a piece of memory that does not exist in the main memory or physical memory. It specifies the operating system to detect all data into virtual memory management and then relocate it from secondary memory to its primary memory.

Answer: The page fault occur when a requested page is mapped in virtual address space but is not currently located in the physical memory or main memory. 

There are various terminologies for page fault like Page Fault Time, Page Hit, Page Miss, Page Fault Delay, etc. Page fault can occur due to different reasons such as writing to a copy-on-write page, accessing a page that is on standby, accessing a demand-zero page, etc.


When does Page Fault occur?

A page fault is raised by the hardware to trap the software when a program accesses a page that is mapped in the virtual address space but not loaded in physical memory.

PO, Clerk, SO, Insurance

Our Apps Playstore
SSC and Bank
Other Exams
GradeStack Learning Pvt. Ltd.Windsor IT Park, Tower - A, 2nd Floor, Sector 125, Noida, Uttar Pradesh 201303
Home Practice Test Series Premium