I have a OutOfMemoryError when i run my springBoot application ,
@Transaction(propagation = Propagation.REQUIRED)
void public function() {
subFunction() ;
}
Subfunction process file with 3000000 lines and create insert query to dataBase. The program aborted in line 1900000 with outOfMemory error.
When we analyze dump with Eclipse Memory analyzer we have that result :

Any help will be useful , thank you .