Skip to main content

R2-45

image0

R2-45 monitors overall volatile memory usage and when memory usage goes to or beyond what it considers too far (meaning that the poor system switches to super-slow swap memory) it kills progressively a list of programs it has in its internal blocklist. As it does this it notifies you of its actions and, when it has done all it can based on its blocklist, it sends a final message of warning. It is not perfect, but it is trying. And really, the pursuit of a positive contribution to reality is really all for which anyone or script can hope.

setup

pip install r245

usage

Just run it.

r245

You can ask it for help if you want to learn how to specify via command line options and arguments the critical RAM usage limit or a custom blocklist.

r245 --help

example program to demonstrate large memory usage

x = bytearray(512000000)

background reading

Metadata

Release files for r245 2021.11.23.1048

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for r245 2021.11.23.1048
File Size Uploaded Provenance Actions
r245-2021.11.23.1048.tar.gz 379.5 kB Without provenance Details for r245-2021.11.23.1048.tar.gz

Release files / r245-2021.11.23.1048.tar.gz

Download URL r245-2021.11.23.1048.tar.gz
Size 379.5 kB
Tags Source
SHA-256 checksum
How to use checksums
7c53b84535195467f6584adcb0e1e4287e6e10173881665f294d8baa34de3a20
BLAKE2b-256 checksum
How to use checksums
197f7149b1efc1941fdf208867fdc4d9c91333b8312ba03150b7c81bf0d568d8
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via Python-urllib/3.8

Security for r245 2021.11.23.1048

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page