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

fix: Increase child process maxBuffer size from 1MB to 10MB #40

Merged
merged 1 commit into from
Mar 18, 2024

Conversation

fuzzypixelz
Copy link
Member

@fuzzypixelz fuzzypixelz commented Mar 18, 2024

Fixes #37.

Some commands like cat can output significant amounts of data on stdout. This is a hotfix to deal with this issue. I don't see an issue with increasing the maxBuffer for all commands except for more memory consumption (assuming Node.js allocates all of it ahead of spawning the process).

Some commands like `cat` can output significant amounts of data on stdout. This
is a hotfix to deal with this issue. I don't see an issue with increasing the
`maxBuffer` for all commands except for more memory consumption (assuming
Node.js allocates all of it ahead of spawning the process).
@eclipse-zenoh-bot
Copy link
Contributor

@fuzzypixelz If this pull request contains a bugfix or a new feature, then please consider using Closes #ISSUE-NUMBER syntax to link it to an issue.

@gabrik gabrik merged commit c520011 into eclipse-zenoh:main Mar 18, 2024
3 checks passed
@gabrik gabrik deleted the fix-maxbuffer-exceeded branch March 18, 2024 10:27
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.

Sometimes commands exceed child_process's maxBuffer
3 participants