crate / elasticsearch-inout-plugin

An Elasticsearch plugin which provides the ability to export data by query on server side.
Apache License 2.0
112 stars 15 forks source link

Increasing heap size to make it work. #46

Open starit1977 opened 11 years ago

starit1977 commented 11 years ago

While using 0.90.3 version with this plugin i got Out of heap size memory issue.

When i increase the heap size, the restore worked perfectly. Is there any math or formula to calculate how much heap size needs to be there, is it based on the data size. So if i have 1 GB, 10GB or 100 GB - what would be the heap size?

Thanks Pranav.

apatrida commented 11 years ago

Upgrade to a version beyond 0.90.5 such as current 1.0.0.beta1, there was a change in how memory was allocated that affected a few versions of ES, and also this plugin must be updated to work with newer versions as well. There are pull requests for the major versions as-of today.