Script becomes unresponsive after deleting 10Krows.

Options

I am attempting to delete rows from a Smartsheet that contains 16K rows. I'm using the smartsheet_client.Sheets.delete_rows(sheet_id, rows_in_chunks) method and have tried deleting in chunks of 20 and 200 rows at a time. However, the script becomes unresponsive/gets stuck after deleting 10K rows. I'm wondering if this issue could be related to memory limitations in Python or the SDK versions being used. Can you provide any insights or suggestions on how to address this problem?

Answers