I’m in the process of migrating my site from Gatsby Cloud to Netlify, currently working on my serverless functions. I tested one of them, and on the first try, it failed because I hadn’t exported the handler properly, and it used 18MB of memory. I did another test, this time it partially succeeded, and it used a whole 79MB.
I’d like to know if that’s normal, especially for a function that failed and thus didn’t get to handle a significant amount of data. I would normally expect a call like that to consume mere KBs, not MBs. It’s not that I’m worried about busting limits (not yet anyways) but still strikes me as a lot.
(For what it’s worth, the function’s purpose is to make an API call to Hubspot. If successful it returns a pretty hefty object, but nothing remotely close to MBs worth of data.)
Thank you !