Skip to content

limits: allow overriding memory limits to more than 4GB #567

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

Merged
merged 2 commits into from
Jan 21, 2020

Conversation

pietroalbini
Copy link
Member

Before this, the overridden memory limits were stored as the allowed number of bytes in a 32-bit integer, which couldn't represent more than 4GB of RAM.

This switches the database table to use a BIGINT (64-bit integer) as the column type, fixing the issue and allowing us to add big overrides.

r? @jyn514

Before this, the overridden memory limits were stored as the allowed
number of bytes in a 32-bit integer, which couldn't represent more than
4GB of RAM.

This switches the database table to use a BIGINT (64-bit integer) as the
column type, fixing the issue and allowing us to add big overrides.
Co-Authored-By: Joshua Nelson <[email protected]>
@pietroalbini pietroalbini merged commit b7035e3 into rust-lang:master Jan 21, 2020
@pietroalbini pietroalbini deleted the overrides-bigint branch January 21, 2020 09:31
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.

2 participants