Skip to content

fix: Output documents in a streaming fashion to avoid 2GB limit #190

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 1 commit into from
Jun 26, 2023

Conversation

varungandhi-src
Copy link
Contributor

@varungandhi-src varungandhi-src commented Jun 26, 2023

Motivation

For very large monorepos, one might hit the Protobuf 2GB message limit size
with the default generated C++ code. Bypass the limit by streaming the output,
similar to scip-clang. sourcegraph/scip-clang#256

Fixes #202

Test plan

Tested that code nav continues to work for shopify-api-ruby.

@varungandhi-src varungandhi-src merged commit b5ce1c1 into scip-ruby/master Jun 26, 2023
@varungandhi-src varungandhi-src deleted the vg/stream-output branch June 26, 2023 02:22
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.

Assertion hit when index size exceeds 2GB
1 participant