Skip to content

Conversation

@jqnatividad
Copy link
Collaborator

so it can process even larger than memory files like stats

so it can process even larger than memory files
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR adds dynamic parallel chunk sizing to the frequency command, enabling it to process larger-than-memory files similar to how the stats command works. The implementation introduces memory-aware chunking that dynamically calculates chunk sizes based on available system memory and record sampling, preventing out-of-memory errors when processing large datasets.

Key changes:

  • Adds memory-aware chunking with dynamic sizing based on available system memory
  • Introduces QSV_FREQ_CHUNK_MEMORY_MB environment variable for manual chunk memory control
  • Implements automatic index creation when files are too large for sequential processing

@jqnatividad jqnatividad requested a review from Copilot November 29, 2025 22:12
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Copilot reviewed 3 out of 3 changed files in this pull request and generated 3 comments.

jqnatividad and others added 3 commits November 29, 2025 17:21
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
@jqnatividad jqnatividad merged commit 8170404 into master Nov 29, 2025
17 checks passed
@jqnatividad jqnatividad deleted the frequency-dynamic-parallel-chunk-sizing branch November 29, 2025 22:28
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