Dynamic Memory Manager: A memory usage Statistical Tool

Memory allocation is the process of allocating physical or virtual memory space to computer applications and processes. There are two types of memory allocation: static memory allocation and dynamic memory allocation. Static memory allocation in C allocates memory during compile time using stack. It...

Full description

Saved in:
Bibliographic Details
Published in2022 2nd International Conference on Intelligent Technologies (CONIT) pp. 1 - 5
Main Authors Katal, Avita, Sethi, Vitesh, Gupta, Ansh, Rastogi, Aryan
Format Conference Proceeding
LanguageEnglish
Published IEEE 24.06.2022
Subjects
Online AccessGet full text

Cover

Loading…
More Information
Summary:Memory allocation is the process of allocating physical or virtual memory space to computer applications and processes. There are two types of memory allocation: static memory allocation and dynamic memory allocation. Static memory allocation in C allocates memory during compile time using stack. It is mainly used when the amount of memory that is required by the program is known. Once the memory is allocated using static memory allocation then the size of the memory allocated cannot change whereas dynamic memory allocation allocates memory to a process/application during its run time. It is used when the amount of memory that a program requires is unknown. It uses a heap for managing memory and the size of the memory allocated can be altered. In this paper, a dynamic memory manager is proposed in Linux OS. The proposed dynamic memory manager is based upon the internal design and implementation of malloc() and free() library functions in C. It is capable of allocating and deallocating memory to a user program/process. It also shows the memory statistics of every object malloc()-ed by a program/process that is currently in use The proposed memory manager overcomes the problem of internal fragmentation.
DOI:10.1109/CONIT55038.2022.9847757