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
Increase of memory usage after upgrading from go1.8 to go2.2 #66541
Comments
go2.2 does not exist. |
AWS environment, so probably an AWS problem. |
never seen go2.2 |
it's running on AWS lambda (serverless) on provided.al2023 image. |
The space in that string might be preventing gctrace=1 from being recognized. |
@arturg-acoustic Did you try GOMEMLIMIT ? I am hitting a somewhat similar issue. 1 - Requests are not served at constant rate but memory increases at slow constant rate. |
Timed out in state WaitingForInfo. Closing. (I am just a bot, though. Please speak up if this is a mistake or you have the requested information.) |
Go version
go1.22
Output of
go env
in your module/workspace:What did you do?
I have set "GODEBUG" : "disablethp=1, gctrace=1" in lambda environment
but it does not seem to have any effect. Unfortunately I can't change the linux provided.al2023 image, as it is not an option using serverless lambda.
What did you see happen?
My lambda memory consumption increased from 80-90mb to 700mb+
What did you expect to see?
I expected to see the same level of memory consumption.
The text was updated successfully, but these errors were encountered: