firebase-tools
firebase-tools copied to clipboard
Emulator storage limit doesn't match production limit
[REQUIRED] Environment info
firebase-tools: 13.15.4
Platform: MacOS
[REQUIRED] Test case
npx firebase-tools emulators:start
[REQUIRED] Steps to reproduce
- Load the storage UI from a clean install of Firebase Tools
- Upload an image larger than 150MB
- Observe
PayloadTooLargeError: request entity too large
error
[REQUIRED] Expected behavior
I expect that the file size limit of the emulator to be equal to what the limit is in production.
[REQUIRED] Actual behavior
The limit is set to 136314880 bytes (~136MB) in the emulators (found by working back from the error, not by finding where it's explicitly set) whereas I believe the actual limit in Firebase is 5 TiB