Sypeorm не падает вставьте большие данные
// const data = new Subdistrict()
// data.subdistrict_id = +val3.subdistrict_id
// data.subdistrict_name = val3.subdistrict_name
// data.district_id = +districtData[index]['district_id']
// data.province_id = +province[index]['province_id']
// await connection.getRepository(Subdistrict).save(data, { chunk: 15000, transaction: true })
Restu Wahyu Saputra