18:31:54.426 WARN com.zaxxer.hikari.pool.PoolBase.isConnectionAlive() @184 - HikariPool-6 - Failed to validate connection com.mysql.cj.jdbc.ConnectionImpl@21503f20 (No operations allowed after connection closed.). Possibly consider using a shorter maxLifetime value. 18:32:25.524 INFO com.nebula.base.service.impl.GlobalCityTemperatureServiceImpl.importData() @206 - 完成500/12275 插入数据库记录数164595 目前共插入:164595 18:35:02.510 INFO com.nebula.base.service.impl.GlobalCityTemperatureServiceImpl.importData() @206 - 完成1000/12275 插入数据库记录数171653 目前共插入:336248 18:38:01.127 INFO com.nebula.base.service.impl.GlobalCityTemperatureServiceImpl.importData() @206 - 完成1500/12275 插入数据库记录数177305 目前共插入:513553 18:40:29.181 INFO com.nebula.base.service.impl.GlobalCityTemperatureServiceImpl.importData() @206 - 完成2000/12275 插入数据库记录数173026 目前共插入:686579 18:43:34.941 INFO com.nebula.base.service.impl.GlobalCityTemperatureServiceImpl.importData() @206 - 完成2500/12275 插入数据库记录数172998 目前共插入:859577 18:47:06.458 INFO com.nebula.base.service.impl.GlobalCityTemperatureServiceImpl.importData() @206 - 完成3000/12275 插入数据库记录数173838 目前共插入:1033415 18:49:59.299 INFO com.nebula.base.service.impl.GlobalCityTemperatureServiceImpl.importData() @206 - 完成3500/12275 插入数据库记录数153192 目前共插入:1186607 # # There is insufficient memory for the Java Runtime Environment to continue. # Native memory allocation (malloc) failed to allocate 2097152 bytes for AllocateHeap # An error report file with more information is saved as: # E:\*****\hs_err_pid26572.log
运行参数 -Xmx10240m -Xms5120m -Xmn3072m
标签:malloc,插入,18,nebula,allocation,failed,importData,com,12275 From: https://www.cnblogs.com/aidaminiu/p/16625427.html