Slow API & Eventual Memory issue
Posted: Tue Apr 21, 2026 3:54 pm
Hi All,
I've recently taken over for someone who has left the business. They've created a single AWS Glue script that gets all data from the following endpoints,
This includes Hierarchical data. However, the duration of this is over 7 hours and it's only going to get longer as more data is downloaded. Recently, we're getting Command failed with exit code 137. (ran out of memory and the OS killed it).
Any suggestions on getting this to work without the issues of Memory?
Would you recommend splitting each Endpoint into it's own run (Excluding the hierarchical ones)
TIA

I've recently taken over for someone who has left the business. They've created a single AWS Glue script that gets all data from the following endpoints,
Code: Select all
endpoints = ["contractors", "vendorOrders", "catalogs", "vendors", "invoices", "employees", "jobs",
"quotes", "sites", "setup/teams", "contractorInvoices", "jobWorkOrders", "jobCostCenters", "schedules"]Any suggestions on getting this to work without the issues of Memory?
Would you recommend splitting each Endpoint into it's own run (Excluding the hierarchical ones)
TIA