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

Reduce ram consumption #105

Merged
merged 19 commits into from
Mar 13, 2025
Merged

Reduce ram consumption #105

merged 19 commits into from
Mar 13, 2025

Conversation

irevoire
Copy link
Member

@irevoire irevoire commented Feb 20, 2025

Pull Request

Related issue

Fixes #87

What does this PR do?

  • Implements the last strategy described in Use a random subset of vectors to generate trees #87
  • Expose a new memory parameter in the Writer::Builder that specifies how much memory mapped memory arroy can use. It doesn't limit the RAM used by arroy itself, so this amount should always be smaller than your total RAM

@Kerollmops Kerollmops added this to the v0.6.0 milestone Mar 10, 2025
@irevoire irevoire marked this pull request as ready for review March 12, 2025 11:36
@Kerollmops Kerollmops self-requested a review March 12, 2025 12:45
@irevoire irevoire added indexing Everything related to indexing performance relevancy labels Mar 12, 2025
@irevoire irevoire force-pushed the reduce-ram-consumption branch from 63831ee to b9ff189 Compare March 12, 2025 17:04
@Kerollmops Kerollmops force-pushed the reduce-ram-consumption branch from b2f6f60 to b963f5b Compare March 13, 2025 09:26
Copy link
Member

@Kerollmops Kerollmops left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I approve those changes.

@Kerollmops Kerollmops merged commit 3350696 into main Mar 13, 2025
8 checks passed
@Kerollmops Kerollmops deleted the reduce-ram-consumption branch March 13, 2025 09:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
indexing Everything related to indexing performance relevancy
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Use a random subset of vectors to generate trees
2 participants