What is the size of the physical memory

Assignment Help Operating System
Reference no: EM131970201

Write a program (with the programming language and on the platform of your choice) to demonstrate the memory leak problem. The full program and the program outputs should be included at the end of the report as an appendix.

If you write the program on a platform which has built-in garbage collection mechanism, special care has to be taken to introduce the memory leak problem.

Execute the program until it cannot proceed anymore. You may have to allocate big chunks of memory iteratively to reach to 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. How much memory has the program used when reaching the point where it cannot proceed anymore? What is the physical (32-bit or 64-bit) and logical address space of the computer you run this application on? What is the size of the physical memory (RAM) of the computer you run this application on?

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

C. When a process that has a memory leak problem cannot proceed anymore, does it prevent any other program from starting/running due to lack of memory? Does it slow down the whole system?

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

Verified Expert

Java Program is used to demonstrate the Memory Leak Problem. It also contain document which encompasses the snapshot of the memory leak program. Also it describe the memory size of the used system.

Reference no: EM131970201

Questions Cloud

What is one benefit of eating a high fiber breakfast : What is one benefit of eating a high fiber breakfast? What can you do to ensure you are eating enough fiber for breakfast?
How did you do on the diagnostic this week : Based on the diagnostic, what concepts do you plan to focus on in preparation for the weekly exam?
How to produce and for whom to produce : Why do people strive to maximise income and wealth rather than happiness. Can we maximise happiness?
Analyze the american public health association : Under the AHPA Communities tab, review the sections and related disciplines under the "Member sections" and "State Affiliates".
What is the size of the physical memory : What type of memory, virtual or physical, is exhausted when there is a memory leak problem with a process - How much memory has the program used when reaching
Decline with the rest of us employment : Using theory discussed in this course, explain WHY the health care industry did not decline with the rest of U.S. employment.
Determine the annual net cash flows from the project : Determine the annual net cash flows from the project and make a decision regarding the attractiveness of the project based on the project's NPV.
What is difference between present value : What is difference between Present Value and the future value of an asset?
Determining the amount of radioactive isotopes : Determining the amount of radioactive isotopes in a geological or archeological specimen can help decipher its relative age.

Reviews

Write a Review

Operating System Questions & Answers

  Implementation of algorithms for process management

The Shortest Job Next (SJN) algorithm queues processes in a way that the ones that use the shortest CPU cycle will be selected for running rst.

  Develop a user mode command interpreter

Develop a user mode command interpreter which support list-short.

  Memory allocation in operating system

Analysis and implementation of algorithms for memory allocation in operating system, Explain First- t and best- t methods are used in memory allocation in operating systems.

  Stand alone child process

Forking the child process

  Write a multi-threaded program

Write a multi-threaded program to solve producer and consumer problem

  Marginal and average cost curves

n a competitive market place (pure competition) is it possible to continually sell your product at a price above the average cost of production.

  Simulating operating systems scheduling

Simulate the long-term scheduler, the short-term scheduler and the I/O scheduler of the computer using the First-Come-First-Serve algorithm.

  Issues with trusted platform module

Research paper discussing the issues with Trusted Platform Module (TPM)

  Threads

Explain a complication that concurrent processing adds to an operating system.

  Design and programming

Use the semaphore methods to control the concurrency of the solution

  Virtual machines

Virtual machines supported by a host operating system

  Discuss an application that benefits barrier synchronization

Discuss an application that would benefit from the use of barrier synchronization

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