Skip to content

Increase the size of child_process buffers #1506

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

Conversation

plemarquand
Copy link
Contributor

When running execSwift or execFile it was possible for very large results to exceed the default max buffer size as defined by Node.JS (1MB).

This was happening when initializing a complex package during the swift package show-dependencies --format json call, which produced a very large dependency graph.

When running `execSwift` or `execFile` it was possible for very large
results to exceed the default max buffer size as defined by Node.JS
(1MB).

This was happening when initializing a complex package during the
`swift package show-dependencies --format json` call, which produced a
very large dependency graph.
@plemarquand plemarquand merged commit 9ed7efc into swiftlang:main Apr 16, 2025
16 checks passed
@plemarquand plemarquand deleted the embiggen-child-process-buffers branch April 16, 2025 22:29
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