Skip to content

An online simulation of operating system memory management to help computer science students understand the algorithm in a visual way.

Notifications You must be signed in to change notification settings

ostracize/memory-management-simulator

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Memory Management Simulator

An online simulation of operating system memory management to help computer science students understand the algorithm in a visual way.

  • Users can input processes of a given size and length of time.
  • Each process is automatically allocated to a ‘chunk’ in memory (as would be done by an operating system).
  • Memory chunks are partitioned for efficient process allocation (using the ‘Best-Fit’ strategy to reduce fragmentation).
  • As the program runs, a clock ticks in the background, decrementing the time remaining for each process.
  • When a process terminates, chunks are automatically deallocated (freeing memory).
  • Memory is simulated using a doubly linked list data structure.

Doubly linked list diagram

Demo

A live version can be found here: Memory Management Simulator

Screenshot

About

An online simulation of operating system memory management to help computer science students understand the algorithm in a visual way.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 74.2%
  • CSS 13.1%
  • HTML 12.7%