A list of 20,000 + items is being inserted row by row into the DB. This may cause the DB to run out of memory. Debug Locally to figure out if it's a memory usage issue. Solution may be to go back to using a .txt file to store this data.