Kari Amenhauser
POS/355
May 11, 2015
Karen Clark
Memory Management
Memory management is important when working with computers. Memory management is where the computer divides memory to accommodate multiple processes. Memory needs to be redistributed to help with the processor so that programs can run smoother and faster. The requirements for memory management are, relocation, protection, sharing, logical organization, and physical organization.
First, there is relocation, when a program is running, it may be swapped around to different locations, such as being moved over to the disk and then returned to the main memory. From there it can run quickly while other processes can be going on.
Next is protection, processes are not allowed to reference memory locations without permission. This helps keep programs and processes safe if they are sensitive and should not be accessed by an unauthorized user. Memory protection must be fulfilled by the processor not the operating system.
Sharing allows multiple processes access to the same portion of memory. In other words, it is better to let each process access the same copy of the program, rather than each process have its’ own version. Which would make the processor speeds slow down and the computer itself would run a lot slower.
With logical organization, all programs are written in modules. Modules can be written by itself and complied by itself. Meaning if you write a program, you can create modules that do its own separate thing, you can call the module in the original program or you can use the module by itself and not need to have it working with any other program. There are different accesses given to these modules, such as read-only or execute-only, and the best part is you can share the modules between programs and processes as long as you write them where you can call them multiple times in a program.
Physical organization is where memory is only available for the program