Udemy

Operating System Project - Develop Heap Memory Manager in C

Enroll Now
  • 2,462 Students
  • Updated 9/2024
4.4
(143 Ratings)
CTgoodjobs selects quality courses to enhance professionals' competitiveness. By purchasing courses through links on our site, we may receive an affiliate commission.

Course Information

Registration period
Year-round Recruitment
Course Level
Study Mode
Duration
7 Hour(s) 22 Minute(s)
Language
English
Rating
4.4
(143 Ratings)
2 views

Course Overview

Operating System Project - Develop Heap Memory Manager in C

Operating System UG/PG Seminar Projects in C on Windows/Linux Platforms, Memory Management, System Programming, Linux.

This course attempts to answer the following INTERVIEW QUESTIONS :

1. How will you design your own heap Memory Manager?

2. What is the data structure employed for Heap Memory Management?

3. What is the time complexity to allocate memory to a process?

4. How free( ) knows how much memory to free?

5. How to get rid of Memory Fragmentation?


This course is about - "Design and Implement your own Memory Allocation Scheme to address the problem of Memory Fragmentation, see Memory Usage and statistics and Catch Memory Leaks. Talk to your prof and ask to do this project as your Operating Seminar Project".


Do this yet another System Project and Impress the interviewer with your knowledge of System Memory Management.


In this course, we shall design and implement a scheme in the form of a Library that takes the responsibility to allocate & de-allocate memory to your userspace process while taking care of the problems of Heap internal and external fragmentation behind the scenes. We already are familiar with the problem of Heap internal and external fragmentation which grows and magnifies over a period of time when a process is in execution and make much of the part of Heap memory unusable.


Many companies implement this scheme in the industry in userspace itself to get rid of Fragmentation problems and also speed up the mechanism of Memory (de)allocation to a process.


This is a pure coding based course and at every stage of the course, you need to write a code to implement the project.

Course Content

  • 15 section(s)
  • 85 lecture(s)
  • Section 1 What is this Course About ?
  • Section 2 Phase 1 - Virtual Memory Page (De)Allocation
  • Section 3 Phase 2 - Page Family Registration
  • Section 4 Phase 3 - Meta and Data Blocks
  • Section 5 Phase 4 - Block Splitting and Merging
  • Section 6 Phase 5 - VM Page Management
  • Section 7 Phase 6 - Free Data Block Management
  • Section 8 Phase 7 - Final Push - Implement Xmalloc & Xfree
  • Section 9 Phase 8 - Testing Our Project
  • Section 10 Phase 9 - Implementing Xfree
  • Section 11 Phase 10 - Mini Projects on LMM
  • Section 12 Appendix A : Theory - Heap Memory Management
  • Section 13 Appendix B : Iterative Macros in C
  • Section 14 Appendix C : Glue Based Linked List
  • Section 15 Bonus - Get some Candies !

What You’ll Learn

  • Understanding Heap Memory Management, How to track the Objects malloc'd by the application, Internal Design and implementation of Heap Memory Management, Develop own Implementation in C, Catch Memory Leaks, See Memory Usage and statistics

Reviews

  • O
    Olena Romanenko
    5.0

    seems I can find here an explanation of the approaches to make a memory manager in the application

  • S
    Sachin Hosamani
    5.0

    Good start to learn the internals of memory manager and implement using C

  • S
    Sachin Mohite
    5.0

    Great so far but practices not started

  • B
    Braiden Aloe
    4.0

    Great class, great teacher, hopefully I can up date my my knowledge enough to make this work every time.

Start FollowingSee all

We use cookies to enhance your experience on our website. Please read and confirm your agreement to our Privacy Policy and Terms and Conditions before continue to browse our website.

Read and Agreed