{"id":24018753,"url":"https://github.com/iboud0/memory-managment","last_synced_at":"2025-02-25T21:28:40.530Z","repository":{"id":244721866,"uuid":"799715020","full_name":"iboud0/memory-managment","owner":"iboud0","description":"Simple memory management system","archived":false,"fork":false,"pushed_at":"2024-05-15T09:35:57.000Z","size":52,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-08T10:18:38.152Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/iboud0.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-05-13T00:09:42.000Z","updated_at":"2024-06-16T23:40:44.000Z","dependencies_parsed_at":"2024-06-17T01:41:48.076Z","dependency_job_id":null,"html_url":"https://github.com/iboud0/memory-managment","commit_stats":null,"previous_names":["iboud0/memory-managment"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iboud0%2Fmemory-managment","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iboud0%2Fmemory-managment/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iboud0%2Fmemory-managment/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iboud0%2Fmemory-managment/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/iboud0","download_url":"https://codeload.github.com/iboud0/memory-managment/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240749569,"owners_count":19851499,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2025-01-08T10:18:49.490Z","updated_at":"2025-02-25T21:28:40.499Z","avatar_url":"https://github.com/iboud0.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"\n---\n\n# Memory Management System\n\nThis project implements a simple memory management system in Python. It simulates memory allocation and deallocation strategies commonly used in operating systems.\n\n## Table of Contents\n\n1. [Introduction](#introduction)\n2. [Project Structure](#project-structure)\n3. [Installation](#installation)\n4. [Usage](#usage)\n5. [Memory Allocation Strategies](#memory-allocation-strategies)\n6. [Contributing](#contributing)\n\n## Introduction\n\nThe Memory Management System project provides a simulation of memory management techniques used in operating systems. It allows users to create and delete processes, allocate memory for processes, free memory, and convert virtual addresses to physical addresses.\n\n## Project Structure\n\nThe project is organized as follows:\n\n- `mmu/`: Contains the source code for the memory management unit.\n  - `models/`: Contains the definition of MemoryBlock and Process classes.\n  - `strategy/`: Contains different memory allocation strategy implementations.\n- `main.py`: Main script to run the memory management simulation.\n- `README.md`: Documentation file providing information about the project.\n\n## Installation\n\nTo use the Memory Management System, follow these steps:\n\n1. Clone the repository to your local machine:\n\n    ```bash\n    git clone https://github.com/your-username/memory-management-system.git\n    ```\n\n2. Navigate to the project directory:\n\n    ```bash\n    cd memory-management-system\n    ```\n\n3. Install the required dependencies:\n\n    ```bash\n    pip install -r requirements.txt\n    ```\n\n## Usage\n\nTo run the memory management simulation, execute the `main.py` script:\n\n```bash\npython main.py\n```\n\nFollow the on-screen instructions to interact with the memory management system.\n\n## Memory Allocation Strategies\n\nThe project implements the following memory allocation strategies:\n\n- **First Fit**: Allocates the first available memory block that is large enough to accommodate the process.\n- **Best Fit**: Allocates the smallest available memory block that is large enough to accommodate the process.\n- **Next Fit**: Similar to First Fit, but starts searching for available memory from the last allocation position.\n- **Worst Fit**: Allocates the largest available memory block, which may lead to fragmentation but is useful for certain scenarios.\n\n## Contributing\n\nContributions to the project are welcome! Feel free to submit bug reports, feature requests, or pull requests.\n\n---","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fiboud0%2Fmemory-managment","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fiboud0%2Fmemory-managment","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fiboud0%2Fmemory-managment/lists"}