You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We have some cpu and memory intensive image resizes in a cloud function.
We have been using the max 2GB in production and everything has worked well.
I now wanted to make it even faster and so I changed to the new 4GB option.
But when I deploy it defaults back to 256MB
[REQUIRED] Version info
node:
node for development: v14.15.2
node set for functions: 12
When is the next release coming out?
I really need the speed boost this will give my cloud functions, It would be awesome if my pull request could be included in the next release 🚀
* Add support for 4GB memory option
The 4GB memory option was not added everywhere.
Fixes#834
* Added test for 4GB memory option
Co-authored-by: Leon Radley <leon@wec360.se>
Co-authored-by: joehan <joehanley@google.com>
Related issues
We have some cpu and memory intensive image resizes in a cloud function.
We have been using the max 2GB in production and everything has worked well.
I now wanted to make it even faster and so I changed to the new 4GB option.
But when I deploy it defaults back to 256MB
[REQUIRED] Version info
node:
node for development: v14.15.2
node set for functions: 12
firebase-functions:
3.13.0
firebase-tools:
9.1.0
firebase-admin:
9.4.2
[REQUIRED] Test case
[REQUIRED] Steps to reproduce
[REQUIRED] Expected behavior
function should deploy with 4GB memory
[REQUIRED] Actual behavior
function deploys with 256MB memory
Were you able to successfully deploy your functions?
yes it deploys as usual but with wrong memory setting
The text was updated successfully, but these errors were encountered: