0

I'm running Solr on Windows 11, using the following command:

java -Dc=core_1 -Drecursive -Dauto -jar example\exampledocs\post.jar D:\* 
     -Xms8g -Xmx16g -XX:NewRatio=1 -XX:-UseAdaptiveSizePolicy -Xss16m

The machine I am using has 256GB ECC RAM, running java 19.0.1

I'm trying to index about 10TB of files, but after running for a certain amount of time, I get the following error:

SimplePostTool: WARNING: Response: {
  "responseHeader":{
    "status":500,
    "QTime":22},
  "error":{
    "metadata":[
      "error-class","org.apache.solr.common.SolrException",
      "root-error-class","java.lang.OutOfMemoryError"],
    "msg":"Server error writing document id D:\myfile.pdf to the index",
    "trace":"org.apache.solr.common.SolrException: Server error writing document id D:\

I have tried playing with the initial memory settings, such as adding -Xmx1024m recommended here, but to no avail.

alias51
  • 8,178
  • 22
  • 94
  • 166

0 Answers0