-
Notifications
You must be signed in to change notification settings - Fork 3.8k
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
[BUG] in sample: #1033
Labels
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Which sample has a bug?
generate-thumbnail
Sample name or URL where you found the bug
https://github.com/firebase/functions-samples/blob/main/generate-thumbnail/functions/index.js
How to reproduce the issue
Normal use of function, single user, function executed 30 times
Failing Function code used (if you modified the sample)
Steps to set up and reproduce
Debug output
Container worker exceeded memory limit of 256 MiB with 258 MiB used after servicing 29 requests total. Consider setting a larger instance class and
Errors in the
console logs
Function invocation was interrupted. Error: function terminated. Recommended action: inspect logs for termination reason. Additional troubleshooting documentation can be found at https://cloud.google.com/functions/docs/troubleshooting#logging
Screenshots
Expected behavior
Function to use less than 256MB memory
Actual behavior
Provided error
This only happened once. Witout any changes, normal memor usage is around 100 MB . .
The text was updated successfully, but these errors were encountered: