SearchBlox will log this type of error when there is not enough memory to run the indexing or searching.
OutOfMemoryError: Java Heap Space
Please ensure that there is sufficient RAM in your instance to run SearchBlox. Please refer to our CPU requirements to know more about the same:
https://developer.searchblox.com/docs/server-requirements
Please increase the RAM allocated to SearchBlox and Elasticsearch using the steps provided below to overcome the memory issue.
To update the memory allocation when running using the startSearchBlox command or service in Windows, edit the start.ini file within the SearchBloxServer folder.
-Xmx8g
-Xms8g
or change to 16g when you have at least a 32GB server.
-Xmx16g
-Xms16g
To update the memory allocation of Elasticsearch, please go to ..\elasticsearch\config\jvm.options and give xms and xmx values as below
-Xmx8g
-Xms8g
Restart SearchBlox service after the change and index the collection.
To learn more on Logging in SearchBlox to check errors read: Monitoring Logs in SearchBlox
Comments
0 comments
Article is closed for comments.