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

NSonic.AssertionException: Message was too long when pushing long texts #11

Open
n0099 opened this issue Nov 30, 2022 · 2 comments
Open

Comments

@n0099
Copy link

n0099 commented Nov 30, 2022

image
Does the exception relate to this hardcoded 20002?

// Buffer is 20002 because we need to differentiate from Environment.Default

If so, how can I customize it for a larger buffer?

@n0099
Copy link
Author

n0099 commented Dec 2, 2022

Pre-chunking the pushing text into 10k or 20k utf-16 (char[]) bytes seems helpful: n0099/open-tbm@9d8aada#diff-8461121668b2afc94705305ef0ee30a81f277f47a471a4a5c4912079afba3b30R34

@n0099
Copy link
Author

n0099 commented Dec 4, 2022

possible related: valeriansaliou/sonic#304 (comment)

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

No branches or pull requests

1 participant