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 process output scan buffer initialization and resizing #129

Merged
merged 1 commit into from Apr 11, 2024

Conversation

ValentaTomas
Copy link
Member

The buffer for the scanning process stdout and stderr was preallocated and couldn't be dynamically resized.
This hogged up memory and in some cases caused OOM and envd restart resulting in timeout in SDK.

Should fix e2b-dev/E2B#339

@ValentaTomas ValentaTomas added the bug Something isn't working label Apr 11, 2024
@ValentaTomas ValentaTomas merged commit c34b6cc into main Apr 11, 2024
@ValentaTomas ValentaTomas deleted the envd-buffer branch April 11, 2024 22:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

WebSocket received error while receiving messages: no close frame received or sent
1 participant