Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[IMP] Configure human-readable memory limits. #44

Open
wants to merge 2 commits into
base: 15.0
Choose a base branch
from

Conversation

amh-mw
Copy link
Member

@amh-mw amh-mw commented Feb 21, 2024

As a human, I prefer to succinctly describe large numbers by using metric prefixes. To this end, limit_memory_hard|soft config settings now parse decimal and binary prefixes up through yotta and yobi.

@amh-mw amh-mw added the 15.0 label Feb 21, 2024
@amh-mw amh-mw force-pushed the 15-config-parse-size branch 8 times, most recently from e09c2c4 to f2f3040 Compare February 21, 2024 15:56
Establish baseline behavior before making changes.
@amh-mw amh-mw force-pushed the 15-config-parse-size branch 20 times, most recently from cfaf254 to 5a081c1 Compare February 22, 2024 18:13
@amh-mw amh-mw force-pushed the 15-config-parse-size branch 7 times, most recently from 8ff5173 to b28977d Compare February 22, 2024 19:49
As a human, I prefer to succinctly describe large numbers,
so limit_memory_hard and limit_memory_hard config settings now
parse IEC 80000-13 binary prefixes.

See https://en.wikipedia.org/wiki/Binary_prefix
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant