This Python script simulates heavy RAM and disk usage to test system limits, monitoring tools, or behavior under stress conditions. It runs two concurrent threads:
- RAM Hogger: Continuously allocates memory (~40MB per second) until system memory is exhausted.
- Storage Filler: Writes 100MB files every second to a specified directory until disk is full.
Do NOT run this on a production or important system. It will slow down or crash your machine and fill up your disk very quickly. This script is for testing and educational purposes only.
python3 storamkiller.pyYou can change the disk write path by modifying the storage_path variable in the script.