How much memory has the program used

Assignment Help Operating System
Reference no: EM131490613

On the Internet, you can find many memory defragmentation programs by Googling "RAM defragmentation" or "RAM defrag" etc. Some claim to be able to do RAM level memory defragmentation, and they all claim to increase system efficiency and stability. Assume that all these programs are running as applications. Based on the principles of paging memory management systems, answer the following questions.

M.1 Briefly explain how a paging memory management system works. Please include the following in your explanation:
- What logical memory addresses are, what physical memory addresses are, and also the relation between them?
- What level of memory, logical or physical, does the process image of an application occupy?
- What type of memory addresses, logical or physical, does the physical processor (or CPU) operate on?

M.2 Does a paging memory management system have the fragmentation problem at the physical memory (RAM) level? Why or why not. Does a paging memory management system have the fragmentation problem at process image level? Why or why not.

M.3 Can an application running on an operating system, which uses a paging memory management system, directly access the physical memory and also change the physical memory allocation to processes? Why or why not.

M.4 Write down your conclusion about the effectiveness and usefulness of memory defragmentation applications. Your conclusion should logically follow the argument line of the answers to the previous questions.

For the following tasks, you should write a proper report to explain the logic of your programs and also answer the questions from the tasks. Your report should read like a textbook on programming. You can use figures and pieces of program code in the report to help your explanation. The full programs and the program outputs should be included at the end of the report as an appendix. A submission with only the programs and without the report will not attract any mark; neither will a report without the programs.

Write a program with the programming language of your choice and on the platform of your choice. The program does nothing but just has the memory leak problem.
If you write the program on a platform which has in-built garbage collection mechanism, special care has to be taken to introduce the memory leak problem. Please report the "special care", should you have any, to introduce the memory leak problem.

Execute the program until it cannot proceed anymore. You may have to allocate big chunks of memory to reach this point quickly. This is even more so if you are running the program on a 64-bit operating system. Based on your observation and your understanding of the principles of a paging memory management system, answer the following questions:

A.1 How much memory has the program used when reaching the point where it cannot proceed anymore? What is the physical address space size (32-bit or 64-bit) of the computer you run this application, what is the size of the logical memory space (maximum possible address size), and what is the size of the physical memory of the computer you run this application?

A.2 What type of memory, virtual or physical, is exhausted when there is the memory leak problem with a process?

A.3 When the process which has the memory leak problem cannot proceed anymore, does it prevent any other program from starting due to the lack of memory? Does it slow down the whole system? Why or why not.

A.4 On the platform which has in-built garbage collection mechanism, e.g., .NET and JVM, to a large extent, the memory leak problem can be avoided. Why?

Verified Expert

The solution file is prepared in ms word which answered the required questions are from page replacement, memory management unit, logical and physical address, memory leakage problem , fragmentation. The word count of the solution is 850 and references are included as per APA format.

Reference no: EM131490613

Questions Cloud

What is the minimum it of return the gold stock must pay : Jones. who has a federal personal income tax rate of 28 percent, holds an on stock that appreciates in value by 10 percent each year He bought the stock one.
Implement the wilson-sommerfeld quantisation condition : Implement the Wilson-Sommerfeld quantisation condition for a particle moving in a harmonic potential U=kx^2/2.
Review the case vstudy of congressional budget office : In recent years there has been a contentious debate about whether same-sex couples should be allowed to legally marry. In 2004, the Congressional Budget Office.
Absolute pressure inside each balloon : The absolute pressure inside each balloon should be 1.2 atm.
How much memory has the program used : ow much memory has the program used when reaching the point where it cannot proceed anymore? What is the physical address space size
How much money would he have in either option : You will need a calculator for this problem. Sam earns $4,000, and he wants to save it for retirement, which is 10 yeas away.
Calculate the voltage across the capacitor : Calculate the voltage across the capacitor after 1.5 seconds.
Complete the excel based component profit loss : You have been provided with data on the expected performance of a listed property company. Complete the excel based component of the assignment
Charging capacitor and a discharging capacitor : Draw two current versus time curves for (a) a charging capacitor and (b) a discharging capacitor.

Reviews

inf1490613

6/2/2017 5:05:05 AM

The flawlessness that you have shown in this paper is evident and has in actuality deleted all trepidation I've had about utilizing you guys as a part without bounds. I understand now that your work is certainly justified regardless of the cost and I will happily prescribe you all to my companions, family, kindred understudies, and colleagues. Keep up the considerable work!

Write a Review

Operating System Questions & Answers

  Fundamental stages of an enterprise system life cycle

Discuss why is this important to the success of the implementation project? Determine the fundamental stages of an enterprise system life cycle?

  Networking based question

Determine some of the factors other then the network itself that can cause the network to seem slow?

  What is the office automation and group collaboration s/w

What is the office automation and group collaboration software which is used in any oraginization

  Develop system administration procedures for windows

Develop System Administration Procedures for Windows 8.1 Security Configuration. Develop a Windows system administration procedure to manage programs and features.

  Differences between a process and a program

During its lifetime a process goes through several different "states". Explain each state and what events cause the state transitions.

  How does a operating system works

how does a operating system works

  Implementation of the electronic medical record

Explain how the effectiveness the implementation of the electronic medical record change will be determined once implemented.

  What is the os? what are the machines?

What is the OS? What are the machines?

  Show the contents of a single environment variable

CIS 240 - What command would you use to remove job number 5 from your default print queue and what is the absolute pathname of the file which defines aliases available to ALL users?

  Compute the net expected value for the project

You are considering to make modifications to an existing application. Compute the net expected value for the project risks and opportunities

  Explain how are two types of operating systems similar

What are the differences between a Windows operating system and a Linux operating system? What inherent security controls are included with each operating system? How are the two types of operating systems similar?

  Analyze vulnerabilities of embedded operating systems

Identify what embedded operating systems are and where used. Analyze vulnerabilities of embedded operating systems. Assess any protection best practices for embedded operating systems.

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd