On 6/26/2018 12:06 AM, solrnoobie wrote:
We are having errors such as heap space error in our indexing so we decided to lower the batch size to 50. The problem with this is that sometimes it really does not help since 1 document can contain 1000 child documents and it will still have the heap errors and indexing is generally slow everytime.
If you're seeing errors in a Java program related to heap space, you have two choices: Reduce the memory requirements of the application, or increase its heap size. Sounds like you need to increase the heap size. Determining the optimal heap size usually requires experimentation.
Thanks, Shawn