Skip to content

Conversation

@saethlin
Copy link
Contributor

This crate always OOMs in crater due to the sandbox limits. In fact, its test suite can hit a peak memory usage of ~7.1 GB which as far as I can tell is a comfortable 2x greater than any other crate in the top 1,000 by downloads.

Simply generating the test cases lazily brings the peak memory usage down to ~100 MB, much more reasonable.

Generating all the prefilter test cases at once caused memory usage to
spike up to ~7.1 GB. This lazy implementation sees ~100 MB peak.
BurntSushi pushed a commit that referenced this pull request Apr 30, 2022
Generating all the prefilter test cases at once caused memory usage to
spike up to ~7.1 GB. This lazy implementation sees ~100 MB peak.

More specifically, this crate always OOMs in crater due to the sandbox
limits. In fact, its test suite can hit a peak memory usage of ~7.1 GB
which as far as one can tell is a comfortable 2x greater than any other
crate in the top 1,000 by downloads.

Closes #105
BurntSushi pushed a commit that referenced this pull request Apr 30, 2022
Generating all the prefilter test cases at once caused memory usage to
spike up to ~7.1 GB. This lazy implementation sees ~100 MB peak.

More specifically, this crate always OOMs in crater due to the sandbox
limits. In fact, its test suite can hit a peak memory usage of ~7.1 GB
which as far as one can tell is a comfortable 2x greater than any other
crate in the top 1,000 by downloads.

Closes #105
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