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

dotenv: fix an unintended buffer copy #462

Merged
merged 1 commit into from
Sep 21, 2023
Merged

Conversation

nicks
Copy link
Contributor

@nicks nicks commented Sep 21, 2023

before this change: the test allocates ~10MB
after this change: the test allocates ~300KB

fixes docker/compose#10951

Copy link
Collaborator

@ndeloof ndeloof left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💯

@ndeloof
Copy link
Collaborator

ndeloof commented Sep 21, 2023

nice catch, thanks for digging into this issue

before this change: the test allocates ~10MB
after this change: the test allocates ~300KB

fixes docker/compose#10951

Signed-off-by: Nick Santos <nick.santos@docker.com>
@glours glours merged commit 09fd935 into compose-spec:master Sep 21, 2023
@nicks nicks deleted the nicks/mem branch September 21, 2023 15:12
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.

[BUG] High RAM consumption
3 participants