Grails, Inserting lots of data using withTransaction results in OutOfMemoryError

后端 未结 2 575
别跟我提以往
别跟我提以往 2021-02-07 23:35

I\'m using Grails 1.1 beta2. I need to import a large amount of data into my Grails application. If I repeatedly instantiate a grails domain class and then save it, the performa

2条回答
  •  無奈伤痛
    2021-02-08 00:25

    Ted Naleid wrote a great blog entry about improving batch performance. Including here as a reference.

提交回复
热议问题