pagefault
A page fault is an event that occurs when a program tries to access a page of memory that is not currently loaded into main memory. This typically happens in operating systems that use virtual memory. Virtual memory allows programs to use more memory than is physically available by storing parts of the program on secondary storage, such as a hard drive, and loading them into main memory only when needed.
When a page fault occurs, the processor detects that the requested page is not in RAM. It
If the accessed page is invalid (e.g., it's outside the program's allocated memory space), the operating system