question

igor.rmarinho_185445 avatar image
igor.rmarinho_185445 asked igor.rmarinho_185445 commented

How do I configure the heap size on Search nodes as recommended by OpsCenter BP service?

Hello,

I'm trying to implement some of the best practices suggest by OpsCenter, but I cannot find where to change the values and is not described on DataStax documentation.

Search nodes have improper heap sizeChecks to see if a Solr node has enough heap space.MediumNodeDailyAlert
For optimizing memory use for DSE search with Solr, the heap should be set to at least 14GB. Set the Solr node max heap to at least 14GB.

Where I can find this options ?

Thank you!

dseopscenterbest practices
10 |1000

Up to 8 attachments (including images) can be used with a maximum of 1.0 MiB each and 10.0 MiB total.

1 Answer

Erick Ramirez avatar image
Erick Ramirez answered igor.rmarinho_185445 commented

@igor.rmarinho_185445 To set the maximum heap size on nodes, set both the -Xms and -Xmx flags in jvm.options (jvm-server.options in DSE 6.8.0):

-Xms31GB
-Xmx31GB

Hint: Search for the section "HEAP SETTINGS" in the file. See the Recommended Production Settings page for additional background information.

The recommended minimum heap size for DSE Search nodes in production is 24GB. See Capacity planning for DSE Search for more information. Cheers!

1 comment Share
10 |1000

Up to 8 attachments (including images) can be used with a maximum of 1.0 MiB each and 10.0 MiB total.

igor.rmarinho_185445 avatar image igor.rmarinho_185445 commented ·

Thanks Erick!

0 Likes 0 ·