Jump to content

Overlay (programming)

From Wikipedia, the free encyclopedia
This is an old revision of this page, as edited by Shomeesharma (talk | contribs) at 06:52, 31 May 2006. The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.
(diff) ← Previous revision | Latest revision (diff) | Newer revision → (diff)

To enable a process to be larger than the amount of memory allocated to it, we can use overlays.

The idea of overlays is to keep in memory, only those instructions and data, which are needed at a given time.When other instructions are needed, they are loaded into space occupied previously by instructions that are no longer needed.

Special relocation and linking algorithms are needed to construct overlays. As in dynamic loading, overlays do not require any special support from the operating system.