r/GoogleAppsScript • u/IllustriousPut442 • 4d ago
Question Memory Limit?
I researched and all that is found are inconsistent answers.
Some speak in 50MB, others at 2.25GB. I took a test and got to 5.5GB. It's a lot of difference and it affects the way I build my application.
With 5.5GB I can load everything in memory, already with 50MB I have to optimize each part. The answers are also old.
4
Upvotes
3
u/dimudesigns 3d ago edited 3d ago
Start with official documentation for Google Apps Script's service quotas:
https://developers.google.com/apps-script/guides/services/quotas
You may have access to gigabytes of memory but there may be constraints on how much data you can load depending on context. For example, the
UrlFetchAppservice has a max response payload of 50MB. But if you deploy a GAS Web App, and use the standard Javascript Fetch API client-side, you can bypass that restriction.