A memory page containing a heavily used variable that was initialised very early and is in constant use is removed when the page replacement algorithm used is-
A memory page containing a heavily used variable that was initialised very early and is in constant use is removed when the page replacement algorithm used is FIFO (first in first out).
First-In-First-Out (FIFO) Replacement:-On a page fault, the frame that has been in memory the longest is replaced. FIFO is not a stack algorithm. In certain cases, the number of page faults can actually increase when more frames are allocated to the process.
FIFO is an acronym for first in, first out, a method for organizing and manipulating a data buffer, where the oldest (first) entry, or 'head' of the queue, is processed first.