Ask Question, Ask an Expert

+61-413 786 465

info@mywordsolution.com

Ask Operating System Expert

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?

Operating System, Computer Science

  • Category:- Operating System
  • Reference No.:- M92299348
  • Price:- $25

Priced at Now at $25, Verified Solution

Have any Question?


Related Questions in Operating System

Question topic computerized operating systems os are almost

Question: Topic: Computerized Operating Systems (OS) are almost everywhere. We encounter them when we use out laptop or desktop computer. We use them when we use our phone or tablet. Find articles that describes the diff ...

Question research hex editors available for mac os and

Question : Research hex editors available for Mac OS and Linux. Based on the documentation, how easy would validating these tools be? Select at least two hex editors for each OS, and discuss what you would do to validate ...

Taskyour job in this assignment is to create two virtual

Task Your job in this assignment is to create two Virtual machines each running a different but the latest distribution of Linux e.g. Ubuntu Server and CentOS. Each of these VM's is to offer services to a user base. The ...

State the required answer precisely and then provide proper

State the required answer precisely and then provide proper explanation. It is not enough to provide one- word or one-line answers. Consider a computer embedded in the control of a manned spacecraft. Would it require an ...

Foundation of information technologyresearch types of

Foundation of Information Technology Research types of operating systems that are currently available and provide a scenario in which the operating system you chose would be appropriate to be used in this situation. Expl ...

Show all stepssuppose that the following processes arrive

Show all steps Suppose that the following processes arrive for execution at the times indicated. Each process will run the listed amount of time. in answering the questions, use non-preemptive scheduling and base all dec ...

Question note apa format 250 words and three reference

Question: Note: APA format 250 words and three reference without plagarism Computerized Operating Systems (OS) are almost everywhere. We encounter them when we use out laptop or desktop computer. We use them when we use ...

Question state the required answer precisely and then

Question : State the required answer precisely and then provide proper explanation. It is not enough to provide one- word or one-line answers. What is the purpose of the command interpreter? Why is it usually separate fr ...

Question 1answer the following questions 10 marks a

Question 1 Answer the following questions: 10 marks a. Consider the following page reference string: 3, 1, 4, 1, 2, 3, 5, 3, 2, 1, 2,5, 4, 3, 5, 2, 4,2, 5,3 Using the above page reference string display the contents of t ...

Assignment -building a multi-threaded web server using c

Assignment - Building a multi-threaded web server using C and p threads, following the model from the lecture. Your program will have one thread acting as a dispatcher thread, listening fornetwork connections with reques ...

  • 4,153,160 Questions Asked
  • 13,132 Experts
  • 2,558,936 Questions Answered

Ask Experts for help!!

Looking for Assignment Help?

Start excelling in your Courses, Get help with Assignment

Write us your full requirement for evaluation and you will receive response within 20 minutes turnaround time.

Ask Now Help with Problems, Get a Best Answer

Why might a bank avoid the use of interest rate swaps even

Why might a bank avoid the use of interest rate swaps, even when the institution is exposed to significant interest rate

Describe the difference between zero coupon bonds and

Describe the difference between zero coupon bonds and coupon bonds. Under what conditions will a coupon bond sell at a p

Compute the present value of an annuity of 880 per year

Compute the present value of an annuity of $ 880 per year for 16 years, given a discount rate of 6 percent per annum. As

Compute the present value of an 1150 payment made in ten

Compute the present value of an $1,150 payment made in ten years when the discount rate is 12 percent. (Do not round int

Compute the present value of an annuity of 699 per year

Compute the present value of an annuity of $ 699 per year for 19 years, given a discount rate of 6 percent per annum. As