We are facing Java OOM issue while indexing data into elasticsearch .
We are reading close to 33 million records with 36 columns from Oracle database .We have broken data into 32 threads with every thread loading close to 1 million records .
We are using Bulk API and the bulk size is set to 10000 records .
Here are the details :
JVM heap size : 8 GB .
JVM: Java HotSpot(TM) 64-Bit Server VM
Appreciate any pointers .