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

a possible memory leak? #5310

Closed
Dennis8274 opened this issue Jul 18, 2024 · 2 comments
Closed

a possible memory leak? #5310

Dennis8274 opened this issue Jul 18, 2024 · 2 comments

Comments

@Dennis8274
Copy link

Describe the bug

a memory-leak found in my process,which fetch msg from kafka using sarama,a kafka golang sdk
image

Expected Behavior

no memory leak

Current Behavior

memory-leak 100% reporduction

Reproduction Steps

my dep info:
github.com/IBM/sarama v1.43.1
github.com/aws/aws-sdk-go v1.51.17

Possible Solution

No response

Additional Information/Context

No response

SDK version used

github.com/aws/aws-sdk-go v1.51.17

Environment details (Version of Go (go version)? OS name and version, etc.)

go 1.21.1

@Dennis8274 Dennis8274 added bug This issue is a bug. needs-triage This issue or PR still needs to be triaged. labels Jul 18, 2024
@lucix-aws
Copy link
Contributor

This is expected. Being a single module, the entire service endpoints table is in-memory and is fairly large.

SDK v2 breaks this up by relocating endpoint data to each service client's module.

@lucix-aws lucix-aws removed bug This issue is a bug. needs-triage This issue or PR still needs to be triaged. labels Jul 18, 2024
Copy link

Comments on closed issues are hard for our team to see.
If you need more assistance, please either tag a team member or open a new issue that references this one.
If you wish to keep having a conversation with other community members under this issue feel free to do so.

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

2 participants