The function zip __ssr.zip size is 73.2 MB, which is larger than the maximum supported size of 52.4 MB

I am trying to achieve SSR with gatsby + netlify functions.
However, what works fine on my LocalPC but fails to deploy in the production environment.

Netlify build log

────────────────────────────────────────────────────────────────
2:19:23 AM:   5. @netlify/plugin-gatsby (onPostBuild event)                 
2:19:23 AM: ────────────────────────────────────────────────────────────────
2:19:23 AM: ​
2:19:26 AM: Enabling Gatsby SSR support
2:19:26 AM: The function zip ../../../tmp/zisi-639ca84a0cf42600085a4d2a/__ssr.zip size is 73.2 MB, which is larger than the maximum supported size of 52.4 MB.
2:19:26 AM: There are a few reasons this could happen, such as accidentally bundling a large dependency or adding lots of files to "included_files".
2:19:26 AM: Contains 178 files
2:19:26 AM: 
2:19:26 AM: 
2:19:26 AM: These are the largest files in the zip:
2:19:26 AM: ┌─────────┬────────────────────────────────────────────────────────────────────────────┬─────────────────┬───────────────────┐
2:19:26 AM: │ (index) │                                    File                                    │ Compressed Size │ Uncompressed Size │
2:19:26 AM: ├─────────┼────────────────────────────────────────────────────────────────────────────┼─────────────────┼───────────────────┤
2:19:26 AM: │    1    │         '.cache/query-engine/assets/build/Release/librsvg-2.so.2'          │    '26.3 MB'    │     '105 MB'      │
2:19:26 AM: │    2    │                       '.cache/query-engine/index.js'                       │     '6 MB'      │      '24 MB'      │
2:19:26 AM: │    3    │        '.cache/query-engine/assets/build/Release/libharfbuzz.so.0'         │    '7.43 MB'    │     '20.6 MB'     │
2:19:26 AM: │    4    │ '.cache/query-engine/assets/vendor/8.12.2/linux-x64/lib/libvips-cpp.so.42' │    '8.47 MB'    │     '18.8 MB'     │
2:19:26 AM: │    5    │         '.cache/query-engine/assets/build/Release/libgio-2.0.so.0'         │    '3.55 MB'    │     '9.8 MB'      │
2:19:26 AM: │    6    │                         '.cache/page-ssr/index.js'                         │    '4.02 MB'    │     '8.33 MB'     │
2:19:26 AM: │    7    │          '.cache/query-engine/assets/build/Release/libcairo.so.2'          │    '2.39 MB'    │     '6.12 MB'     │
2:19:26 AM: │    8    │        '.cache/query-engine/assets/build/Release/libpixman-1.so.0'         │    '1.63 MB'    │     '5.63 MB'     │
2:19:26 AM: │    9    │          '.cache/query-engine/assets/build/Release/libxml2.so.2'           │    '2.08 MB'    │     '5.37 MB'     │
2:19:26 AM: │   10    │        '.cache/query-engine/assets/build/Release/libglib-2.0.so.0'         │    '1.67 MB'    │     '4.57 MB'     │
2:19:26 AM: └─────────┴────────────────────────────────────────────────────────────────────────────┴─────────────────┴───────────────────┘

I have checked other discussions about the capacity limitation of Functions and found no examples of query-engine bloat like mine.

Hey @kazooooo-ma,

Could you share your site name, please? We are testing larger function uploads for most accounts already, so we would like to check if that’s in place for your site as well or not.

Just a disclaimer though, the “larger upload size” might not be exactly what you might imagine, so even with that in place, chances are, it might not work, but to confirm that we would need to know the site name.