Skip to content

A Streamlit web app which utilizes memory_profiler Python module to help developers visualize memory usage and locate memory leaks

Notifications You must be signed in to change notification settings

ShreeluSantosh/PyMemoryFlow

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

41 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PyMemoryFlow

This is a Streamlit web app which utilizes memory_profiler Python module to help developers visualize memory usage and locate memory leaks.

Contents

How it works
Modules and Libraries used
How to Run

How it works

The developer can upload a Python file to the web app. The file is analyzed and executed in a sandbox environment to get more insights into full-time memory usage.

Currently, there are two tools available:

  • Line-by-line Memory Usage Screenshot 2023-11-06 125901

  • Plotting memory usage over time Screenshot 2023-11-06 125935

EDIT (06.11.2023) - I have added an option to download results from the above two tools.

I plan to add more new features in near future!

Modules and Libraries used:

  • streamlit
  • streamlit_extras
  • memory_profiler
  • matplotlib
  • os
  • subprocess

How to Run

  • Clone the repository
git clone https://github.com/ShreeluSantosh/PyMemoryFlow.git
  • Install the required modules from requirements.txt
pip install -r requirements.txt
  • Run the root file (Introduction.py)
streamlit run Introduction.py

About

A Streamlit web app which utilizes memory_profiler Python module to help developers visualize memory usage and locate memory leaks

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages