The memory is not unlimited - you may have 6GB of RAM, that is a lot but not endless.
The memory is split into segments and pages. When you need an application, not all of it is loaded into memory, just what you need. Then when you quit the application, the memory is released, allowing other applications to use the same part of RAM.
The memory management is made smart to load just the parts of the applications and libraries that you use, to make startup faster. It will also try to reduce disk I/O by writing only the parts that you modify, so a movie that you see is just "read" and not "written". The disk is after-all very slow compared to memory, so it will try to minimize the work here, and also fetch parts that it is pretty certain that you will use - like loading ahead when you stream a movie.
One of the main things the operating system manages is the memory. The operating system contains a memory manager, dispenses memory to applications, and keeps track of what is used. It also consolidates and defragments the memory and returns relinquished memory back to the pool of available memory.The operating system uses drivers to match itself to the exact hardware that is in the system and to provide ways to use and manage the hardware.The operating system uses the storage drivers to provide APIs to manage disk I/O, and it uses file system drivers to manage the file systems needed to store files.
so as to infom the processor of what it ought to do
The major function of an operating system is to manage all resources of a system.
This is not always true, it depends on the operating system and the bootstrap process.
The Kernel
One of the main things the operating system manages is the memory. The operating system contains a memory manager, dispenses memory to applications, and keeps track of what is used. It also consolidates and defragments the memory and returns relinquished memory back to the pool of available memory.The operating system uses drivers to match itself to the exact hardware that is in the system and to provide ways to use and manage the hardware.The operating system uses the storage drivers to provide APIs to manage disk I/O, and it uses file system drivers to manage the file systems needed to store files.
so as to infom the processor of what it ought to do
An Operating System manages resources. Memory is one example of resource management.
How is a memory-resident part of an operating system different from a nonresident part of an operating system?
The major function of an operating system is to manage all resources of a system.
No it is RAM memory used by the operating system
The main purpose of the Operating System (OS) is to Control & Manage Input/Output functions, File System, Memory allocation & execute processes through Processor.
Network Operating System
when the actual memory is full
A memory map table is a data structure that associates ranges of memory addresses with specific hardware devices or memory locations. It provides an organized way for the operating system to manage the various memory resources available in the system. The memory map table helps determine where data should be stored or retrieved in the computer's memory hierarchy.
operating system
The bootloader is the part of the operating system that loads first during the system startup. It initializes the hardware and loads the kernel into the main memory, which remains there to manage system resources and execute processes. The kernel serves as the core component of the operating system, facilitating communication between hardware and software. Once loaded, the bootloader typically relinquishes control to the kernel, which takes over the system's operations.