java - What could be the reason for hibernate transaction commit taking 10 seconds with 100% CPU utilization for every batch? -


we having issue our spring hibernate jpa web application. uploading excel 3000 records using apache poi mysql. commit frequency 10 records, each commit takes 10 seconds pause , cpu reaches 100% throughout import process. i'm suspecting if there memory leak in session(cache) objects. there enough space in young, old , permanent generations of java heap. possible issue? there tools profile whats happening @ time of commit? please advise.


Comments