Script Stops After 120 Seconds with "Execution Cancelled" When Processing Large CSV in Google Apps Script

35 views
Skip to first unread message

大島大河

unread,
May 31, 2025, 6:03:36 AM5/31/25
to Google Apps Script Community

I'm working with Google Apps Script to load and process a large CSV file containing 50,000 rows × 10 columns. However, the script consistently stops around the 120-second mark, leaving only a log message that says "Execution cancelled."

It's not due to the daily execution time limit, and there are no errors being thrown in the code itself.
My current suspicion is that the script might be hitting memory limits due to the heavy use of loops, but I'm not entirely sure.

Has anyone else experienced this issue?
If so, I’d really appreciate it if you could share any insights into the possible cause.

Keith Andersen

unread,
May 31, 2025, 6:37:54 AM5/31/25
to google-apps-sc...@googlegroups.com

There are numerous reasons why a script would stop. Without seeing it, it's impossible to give you any meaningful help. Can you provide your script?
Cheers



My website: https://sites.google.com/view/klaweb/
Passions: God, Family, Scriptures, Learning, Data Management, Google Sheets + App Script and much more!

--
You received this message because you are subscribed to the Google Groups "Google Apps Script Community" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-apps-script-c...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/google-apps-script-community/eb227a7b-f8de-414f-b2a6-d5e8a938b187n%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages