answersLogoWhite

0

Without memory management, programs would end up writing over their own data or other programs' data, usually because developers would have to make assumptions about what is stored in memory. Modern operating systems reduce the possibility of applications interfering with other programs, via Data Execution Prevention and hardware-based Virtual Memory, but it still cannot prevent bugs where an application accesses its own memory incorrectly and corrupts its own data. A solid memory management approach is necessary so that programs do not "lose" data (called a memory leak), or corrupt their data (possibly causing a fatal crash, loss of data, or other serious conditions).

User Avatar

Wiki User

13y ago

What else can I help you with?

Related Questions

3Explain the function of OS in memory management?

function of memory management


What is Memory management in ms dos?

MS-DOS does not have built-in memory management.


What is memory management?

static memory management i.e we are fixed the memory location with there size & that fixed size jobs will appear


What is static memory management?

static memory management i.e we are fixed the memory location with there size & that fixed size jobs will appear


What is the purpose of memory that is to optimize the use of random access memory?

memory management


How does memory management work?

Memory management is the method by which a computer stores and retrieves memory. It works by the computer organizing data by types and storing it accordingly.


What is the role of operating system in memory management?

Role of the Memory management unit in Operating system Every program for its execution requires some space in computer memory which is provided by memory management unit using virtual memory that provides the external storage addressing location for the programs that does not have too much space in main memory for their execution and saved them in secondary memory but when required loaded them again in main memory. This deallocation and reallocation of programs in main memory deals with concurrency. At last, we say that loading capabilities of programs with the memory addressing is there in it.


What is concerned with managing the systems memory resources?

Memory Management


What factors contribute to the effectiveness of stack-based memory management in computer systems?

Factors contributing to the effectiveness of stack-based memory management in computer systems include efficient memory allocation and deallocation, fast access to memory locations, and automatic memory management that helps prevent memory leaks and errors.


One million memory location is?

See: Memory Management


What is memory management scheme which support the user's view of memory?

paging


Do you have destructer in java?

No. Memory management is handled automatically in Java, so there is no need for a destructor. Also, you can use a finalize block of code where you can assign all large objects to null. This can significantly aid the memory management a.k.a garbage collection done by the JVM.