lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Chetas Joshi <>
Subject Solr Initialization failure
Date Wed, 04 Jan 2017 20:43:17 GMT

while creating a new collection, it fails to spin up solr cores on some
nodes due to "insufficient direct memory".

Here is the error:

   - *3044_01_17_shard42_replica1:*
   The max direct memory is likely too low. Either increase it (by adding
   -XX:MaxDirectMemorySize=<size>g -XX:+UseLargePages to your containers
   startup args) or disable direct allocation using in solrconfig.xml. If
   you are putting the block cache on the heap, your java heap size might not
   be large enough. Failed allocating ~2684.35456 MB.

The error is self explanatory.

My question is: why does it require around 2.7 GB of off-heap memory to
spin up a single core??

Thank you!

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message