I am facing below OutOfMemoryError: Java heap space error while running my pipeline. I have also tried to increase heap space to 4Gb but still getting same error.
Caused by:
2023-07-24T10:16:10.8047611Z java.lang.OutOfMemoryError: Java heap space
2023-07-24T10:16:10.8047931Z at java.base/java.util.HashMap.newNode(HashMap.java:1901)
2023-07-24T10:16:10.8048271Z at java.base/java.util.HashMap.putVal(HashMap.java:629)
2023-07-24T10:16:10.8048622Z at java.base/java.util.HashMap.putMapEntries(HashMap.java:514)
2023-07-24T10:16:10.8048969Z at java.base/java.util.HashMap.<init>(HashMap.java:484)
Now, I am trying to capture heap dump to identify memory leak and root cause of out of memory issue.
Can someone please help me to capture heap dump ?