Hi,
I have application with JPA, and try to process and insert a group of records. What application start, it is very fast and take only one second to insert a group of records into database (MySQL), but But after about one or two hours, it'll take about ten seconds to finish transactions, after over night running ( about 12 hours), it become more than one minutes to finish, at last, cause out of memory.
Is it memory leak, I setup java options like -Xmx 1024m. But it also cause out of memory after running some time.
Any configurations like MySQL to improve performance?
Thanks,
Quinten
|