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

sstable, sharedcache: reduce test memory usage #2858

Merged
merged 2 commits into from
Aug 29, 2023

Commits on Aug 28, 2023

  1. sstable: reduce test memory usage

    Reduce memory usage of TestGetBytes which allocates a 2GB slice. We
    don't actually do anything with the data so we can allocate a small
    slice.
    RaduBerinde committed Aug 28, 2023
    Configuration menu
    Copy the full SHA
    98e0c83 View commit details
    Browse the repository at this point in the history
  2. sharedcache: reduce random test sizes

    Reduce the maximum sharding block size to 4MB from 10MB (we always use
    1MB in production) and reduce the maximum number of shards from 64 to
    32. This reduces the memory footprint of the test significantly.
    RaduBerinde committed Aug 28, 2023
    Configuration menu
    Copy the full SHA
    b8394c7 View commit details
    Browse the repository at this point in the history