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

🐛 [storage-resize-images] Increase function memory past 2GB #1719

Closed
glyphdev123 opened this issue Aug 29, 2023 · 3 comments · Fixed by #1825
Closed

🐛 [storage-resize-images] Increase function memory past 2GB #1719

glyphdev123 opened this issue Aug 29, 2023 · 3 comments · Fixed by #1825
Assignees
Labels
extension: storage-resize-images Related to storage-resize-images extension type: feature request New feature or request

Comments

@glyphdev123
Copy link

[READ] Step 1: Are you in the right place?

Issues filed here should be about a feature request for a specific extension in this repository. To file a feature request that affects multiple extensions or the Firebase Extensions platform, please reach out to
Firebase support directly.

[REQUIRED] Step 2: Extension name

This feature request is for extension: storage-resize-images

What feature would you like to see?

Hello, is there any way to increase the function memory more than 2GB? Currently the dropdown for the config only allows 512MB, 1GB and 2GB.

Screenshot 2023-08-28 at 10 13 16 PM

I also wonder, what is the function memory paramater in the advanced configuration? I've tried to set that to 8GB, but it does not seem to have an effect.
Screenshot 2023-08-28 at 10 14 09 PM

How would you use it?

Sure! We're dealing with really large images. Seems like the extension crashes with an out of memory error when dealing with them so I'd like to try increasing memory in order for it to work on them 😭

See below:
Screenshot 2023-08-28 at 10 15 29 PM

@glyphdev123 glyphdev123 added the type: feature request New feature or request label Aug 29, 2023
@glyphdev123
Copy link
Author

Update:

Looks like a temporary workaround i found is to modify the memory explicitly in:

https://console.cloud.google.com/functions/edit/{location}/ext-storage-resize-images-generateResizedImage

But, I'd be much more comfortable with a proper configurable solution

@dackers86
Copy link
Member

dackers86 commented Aug 29, 2023

Thanks @glyphdev123

I believe the advanced configuration may be overwritten by the function memory in the main config. Most likely as advanced configuration is new feature.

I'll add this to our backlog/todo!

@cabljac cabljac added the extension: storage-resize-images Related to storage-resize-images extension label Sep 4, 2023
@TangrisJones
Copy link

Hey @dackers86 just checking in on this one, any timeline on the fix? Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
extension: storage-resize-images Related to storage-resize-images extension type: feature request New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

5 participants