LinuxMemoryManager
This projects is regarding designing own memory manager which will manage the memory - allocation/de-allocation for a process. Memory manager will get rid of internal and external fragmentation problems, and boot performance of the process by preventing unnecessary context switching of a process whenever process request memory.
Install / Use
/learn @sachinites/LinuxMemoryManagerREADME
LinuxMemoryManager
This projects is regarding designing own Heap memory manager which will manage the process's memory requirement. Memory manager will get rid Or minimize the internal and external fragmentation problems, and boost performance of the process by preventing unnecessary system calls for allocating/releasing the memory. Not only that, LMM can display the user with the statistics regarding the memory usage by each structure of the process. From this stats, application memory usage can be analyzed and can provide hints to further optimize the memory requirements of the process. Memory leak can also be discovered using LMM.
LMM request and release memmory from kernel space on behalf of application in units of Virtual Memory Pages. It used mmap() and munmap() system calls for this purpose. It caches the VM pages and use it as reservoir for future memory requests issued by the application, until the VM page is fully exhausted. VM page is released back to kernel if application has freed enough Memory such that VM page has no region occupied/allocated to the application for use.
Future Enhancement : A GUI tool can be developed which can fetch the Memory usage stats from LMM and display graphically in real time.
Algorithms used : = = = = = = = = = Algorithms for Block Splitting and Merging Doubly linked list for maintaining free and allocated blocks Largest fit Algorithms using priority Queue Data Structure for allocating memory to the process
Compilations: gcc -g -c testapp.c -o testapp.o gcc -g -c mm.c -o mm.o gcc -g -c gluethread/glthread.c -o gluethread/glthread.o gcc -g testapp.o mm.o gluethread/glthread.o -o exe
Related Skills
diffs
344.1kUse the diffs tool to produce real, shareable diffs (viewer URL, file artifact, or both) instead of manual edit summaries.
clearshot
Structured screenshot analysis for UI implementation and critique. Analyzes every UI screenshot with a 5×5 spatial grid, full element inventory, and design system extraction — facts and taste together, every time. Escalates to full implementation blueprint when building. Trigger on any digital interface image file (png, jpg, gif, webp — websites, apps, dashboards, mockups, wireframes) or commands like 'analyse this screenshot,' 'rebuild this,' 'match this design,' 'clone this.' Skip for non-UI images (photos, memes, charts) unless the user explicitly wants to build a UI from them. Does NOT trigger on HTML source code, CSS, SVGs, or any code pasted as text.
openpencil
2.0kThe world's first open-source AI-native vector design tool and the first to feature concurrent Agent Teams. Design-as-Code. Turn prompts into UI directly on the live canvas. A modern alternative to Pencil.
HappyColorBlend
HappyColorBlendVibe Project Guidelines Project Overview HappyColorBlendVibe is a Figma plugin for color palette generation with advanced tint/shade blending capabilities. It allows designers to
