I'm importing data on my cluster using elasticdump in bulk, I want to run query on Cluster while the import is going on, but when I do that, the import stops with an error "heap out of memory". I want to complete the import with the query on a cluster at the same time. Any Suggestion?
Sounds like you need to scale up your cluster and add more heap to handle that workload. Another option would be to optimise your data, queries and bulk size to reduce heap usage.