Performance Issue with MultiResourcePartitioner in Spring Package

I have a spring batch project that reads a huge zip file containing over 100,000 xml files.

I am using MultiResourcePartitioner and I have a memory problem and my batch ended with

java.lang.OutOfMemoryError: GC overhead limit exceeded. 

It seems that all xml files are loaded into memory, and not processed after processing.

Is there any way to do this?

Thanks.

0
source share

Source: https://habr.com/ru/post/973058/


All Articles