# data[].attributes.body
-to handle allocation  of memory
-to prevent memory leak that can make the system slow
-to manage the swapping between memory and disk when main memory is too small

# data[].attributes.body
What happen if there is no proper management for the memory ?

=the application will interfere with each other

= the memory addresses used by a process from actual physical addresses cant be separated

=the size of the virtual address space is limited

# data[].attributes.body
- provide ways to allocate portions of memory to programs at their request and freeing it for reuse when no longer needed.

# data[].attributes.body
Memory management is a form of resource management applied to computermemory. The essential requirement of memory management is to provide ways to dynamically allocate portions of memory to programs at their request, and free it for reuse when no longer needed.

# data[].attributes.body
1. Make memory more organised and easily accessible.

2.  Memory can easily be loss, especially during heavy multitasking

# data[].attributes.body
Why computers or the operating system need to manage memory?? The reason is that, memory should be managed in operating system so every task executed by the computer have better performance and less time.

And if there is no proper management for the memory, a memory leak may occurred

# data[].attributes.body
-to menguruskan pertukaran antara memori utama dan disk

# data[].attributes.body
-To make sure that the application do not interfere with each other.

In its simpler forms, this involves providing ways to allocate portions of memory to programs at their request  and freeing it for reuse when no longer needed
- a memory leak may happen and the system may slow down

# data[].attributes.body
- Memory management is the functionality of an operating system which handles or manages primary memory and moves processes back and forth between main memory and disk during execution. Memory management keeps track of each and every memory location, regardless of either it is allocated to some process or it is free.

What happen if there is no proper management for the memory ?  A memory leak will occur which will reduce the performance of your computer at the same time reduce the amount  of available memory.

# data[].attributes.body
My thought on why computer or the OS need to manage memory is:

 Keep track of which parts of memory are in use and which parts are not in use
 Allocate memory to processes when they need it and deallocate  it when they are done
 Manage swapping between main memory and disk when main memory is too small to hold all the processes

What happen if there is no proper management for the memory?
• a memory leak may happen when an object is stored in memory but cannot be accessed by the running code
• A space leak occurs when a computer program uses more memory than necessary

# data[].attributes.body
1)To Manage swapping between main memory and disk when main memory is too small to hold all the processes

2) will be leak

# data[].attributes.body
1- To controlling and coordinating computer memory..
- assigning portions called blocks to various running programs to optimize overall system performance

2- A memory leak may happen when data is stored in memory but cannot be accessed by the running code

# data[].attributes.body
Why memory management function is important for operating system? Because applications run in memory so if the operating system doesn't free the memory after the application ends then you won't be able to run programs as you wish, you would be limited to a few programs and the restart the computer. it's also important to stop the program or fix the program memory leech, because even in windows it happens on some programs that leech all the memory and they just don't nothing.

What happen if there is no proper management for the memory  ?
Occurence of memory leakage

# data[].attributes.body
1.The memory management function keeps track of the status of each memory location, either allocated or free..
-Memory is allocated among competing processes, deciding which gets memory, when they receive it, and how much they are allowed.

2. A memory leak reduces the performance of the computer by reducing the amount of available memory.
- Device stops working correctly.
- The system slows down vastly due to thrashing

# data[].attributes.body
1.Keep track of which parts of memory are in use and which parts are not in use
2.There will be a leak

# data[].attributes.body
1.-keeps track of each and every memory location, regardless of either it is allocated to some process or it is free.
-It checks how much memory is to be allocated to processes.
-It decides which process will get memory at what time.
-It tracks whenever some memory gets freed or unallocated and correspondingly it updates the status.

2. a computer loses power, all data stored in its RAM is lost.

# data[].attributes.body
-Memory management functions handle the allocation and deallocation of memory.

-Keep track the parts of memory are in use or not use.

-A memory leak may occur.

# data[].attributes.body
1.Keep track of which parts are not in use and allocate memory to processes when they need it and deallocate it when they are done.
2. Take so long to shut down your computer ,and will lose the track of memory .

# data[].attributes.body
1-Keep track of which part of memory are in use and part are not use.

2-Process of data in memory cannot be run properly.

# data[].attributes.body
1.to keep track of each and every memory location, regardless of either it is allocated to some process or it is free.

2.a memory leak may happen

# data[].attributes.body
1.-to keeep the data on track

2. you will lose the track of memory