Skip to content

A Java program that simulates various memory allocation strategies, including First Fit, Best Fit, and Worst Fit.

Notifications You must be signed in to change notification settings

gaya3472004/Memory-Simulation-using-Java

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 

Repository files navigation

Memory Allocation Simulation

Overview

The Memory Allocation Simulation is a Java program that demonstrates various memory allocation strategies, including First Fit, Best Fit, and Worst Fit. The application provides a graphical user interface (GUI) that allows users to visualize how memory is allocated and deallocated in real-time scenarios.

Features

  • Simulates memory allocation strategies:
    • First Fit: Allocates the first available block of memory that is large enough.
    • Best Fit: Allocates the smallest available block that fits the request.
    • Worst Fit: Allocates the largest available block to minimize fragmentation.
  • Interactive GUI for easy user input and visualization.
  • Real-time updates showing the allocation and deallocation process.

Output Examples

image

image

image

About

A Java program that simulates various memory allocation strategies, including First Fit, Best Fit, and Worst Fit.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages