Although we cannot implement an optimal algorithm by evicting the page that will not be used for the longest time in the future, we can approximate the algorithm by keeping track of when a page was last used. If a page has recently been used then it is likely that it will be used again in the near future. Conversely, a page that has not been used for some time is unlikely to be used again in the near future.