The Memory Cleanup Utility is a Streamlit-based application designed to monitor, analyze, and clean up system memory. This tool helps identify memory bottlenecks, perform cleanup tasks, and maintain historical data on memory usage.
Watch the demo of the Memory Cleanup Utility:
demo.mp4
- Memory Monitoring: Displays your system's total, free, cached, and used memory.
- Cleanup Commands: Executes memory cleanup tasks, including clearing:
- Modified page list
- Standby list
- Priority 0 standby list
- Working sets
- Historical Data Visualization:
- Tracks memory usage over time.
- Visualizes data in easy-to-read charts.
- Integration with EmptyStandbyList.exe: Uses the executable to perform memory cleanup tasks.
- Custom CSS Styling: Personalize the application UI with external CSS files.
- Version Checking: Manually check for application updates.
- Git Commit Hash Display: Shows the current Git commit hash in the app footer.
- Install Python 3.9+.
- Install the required Python libraries:
pip install streamlit pandas matplotlib requests
- Download the
EmptyStandbyList.exefile. If not already present, the app will prompt you to download it during runtime.
- Clone this repository:
git clone https://github.com/PatrickJnr/StreamLitMemCleaner.git
- Navigate to the project directory:
cd StreamLitMemCleaner - Start the application:
streamlit run memcleaner.py
- The app should automatically open in your browser at
http://localhost:8501.
- Download the latest release from the releases tab.
- Extract the downloaded archive.
- Navigate to the extracted directory.
- Ensure you have Python 3.9+ and the required libraries installed (see prerequisites above).
- Start the application using the command:
streamlit run memcleaner.py
- The app should automatically open in your browser at
http://localhost:8501.
For ease of use, a run.bat file is included in the repository. This script will:
- Install the required Python dependencies.
- Run the application automatically.
To use the run.bat file:
- Download or clone the repository.
- Navigate to the project directory.
- Double-click the
run.batfile to start the application.
- View system memory statistics, including:
- Total memory
- Free memory
- Cached memory
- Select from various cleanup options to free up system memory.
- Track the amount of memory freed after executing commands.
- Warnings are displayed if all cleanup options are selected simultaneously.
- Analyze historical memory usage with detailed tables and charts.
- Manage memory history by deleting data that exceeds a specified maximum row count.
To contribute or debug:
- Use Git for version control.
- Run the app in a local development environment.
- Ensure changes pass tests before submitting a pull request.
The Latest Commit Hash is automatically displayed in the app footer for reference.
For troubleshooting and support:
- Check the Help section in the app footer.
- Report issues or ask questions on the GitHub Issues page.
This project is licensed under the MIT License.
This application utilizes the following libraries and tools:
- Streamlit - For building the app interface and functionality.
- Matplotlib - For visualizing memory usage data in charts.
- Pandas - For handling and processing memory usage data.
- Requests - For making HTTP requests to retrieve updates and other data.
- Python - The underlying programming language.
Special thanks to contributors and the open-source community for their support.