swap file
(or swap space)
A swap file (or swap space or, in Windows NT, a pagefile) is a space on a hard disk used as the virtual memory extension of a computer's real memory (RAM). Having a swap file allows your computer's operating system to pretend that you have more RAM than you actually do. The least recently used files in RAM can be "swapped out" to your hard disk until they are needed later so that new files can be "swapped in" to RAM. In larger operating systems (such as IBM's OS/390), the units that are moved are called pages and the swapping is called paging.
One advantage of a swap file is that it can be organized as a single contiguous space so that fewer I/O operations are required to read or write a complete file.
In general, Windows 95, Windows 98, Windows NT, and UNIX-based operating systems provide a default swap file of a certain size that the user or a system administrator can usually change.
Selected Links
Windows 95 and the Swap File Controversy discusses when you might want to tune the Windows 95 swap file.
Microsoft Computing Central explains Pagefile Essentials for Windows NT.
Selected Books
The New Hacker's Dictionary, edited by Eric Raymond, includes a somewhat different definition of swap space.
This term was suggested by Juliea Stewart.
Last update: December 3, 1999
Copyright © 1996-2000 TechTarget.com, Inc.
All rights reserved.