It will reside in the hard disk
It resides in the Disk(hard disk).
depends on the living space
You are perceptive in your question; we do all live in space, because we live on a planet in space.
The object model is said to reside in object space. we can covert object space units of measure to image space by scaling transformation method.
A swap partition is used when the amount of RAM in a computer is already full. But this is not a recommended alternative to RAM space because it has slower access time.
A swap file is used as virtual memory, which is extra space on the hard drive that is used like memory when you run out of space on your memory modules, but it is much slower than actual memory. It would not remove any data, unless you had to erase over something to create the swap file.
Swap slices are used as virtual memory storage areas when the system does not have enough physical memory to handle current processes. The virtual memory system maps physical copies of files on disk to virtual addresses in memory. Physical memory pages which contain the data for these mappings can be backed by regular files in the file system, or by swap space. If the memory is backed by swap space it is referred to as anonymous memory because there is no identity assigned to the disk space backing the memory.
to have, hold, or take as a separate space; possess, reside in or on, or claim:Example The orchard occupies half the farm.
the space is there it just depends on how much work you are willing to do. to swap that engin you will need to swap the trans, driveshaft, electrical, radiator, and fuel pump, as well as a boatload of other little things.
That is the "swap partition." It is a dedicated space on the hard disk that fulfills the "swap" feature of virtual memory in Linux.
In the Unix world, at least, a space that you allocate for additional RAM like storage (not nearly as fast, btw) is called swap, or swap space. In the DOS/MS world it's Virtual memory.
If you have plenty of RAM: 1, as a swap partition is rarely used by Linux on systems with more than 2 or 3 GiB of RAM available, and all the toplevels of the Linux directory structure can be put on the same partition. A swap partition on a system with plenty of RAM is a waste of hard disk space. If you're strapped for memory, 2, to allow for the swap partition, so that Linux can extend its memory onto the hard disk so you won't run out. A good rule of thumb is to create a swap partition at LEAST 1.5 times larger than your system RAM. For example, if you have 512 MiB of RAM: a 768 MiB MINIMUM swap partition is advised. If you have lots of hard disk space, an ideal consideration is actually to triple your RAM in swap space: 512 MiB of RAM will be supported by a 1.5 GiB swap partition. Personally, if you have lots of hard disk space, I recommend at least 3: One for /, one for /home, and one for swap, if needed, otherwise it'll be for /boot.