I am using elastic search 5.1.2 in my application which has 1 node 5 indexes. I am running elastic on a windows machine with 4 core and 14 GB RAM.
Java heap space configured was 3G with initial setup, we are having issues with heap space for the past couple of days and we have increased the heap space from 3G to 8G but It is not helping either. Do we need to change the heap space settings else where apart from the JVM file? Any help is highly appreciated.
- Your version is a way too old. Upgrade to 6.8 at the very least. Better to go to 7.16. 8.0 is around the corner so definitely you should update, specifically for security reasons.
- You are using 5 shards per index. With the volume you have, one shard should be enough. I'd suggest to reindex your data although it's not mandatory here.
- Also, providerseoindex has number of replicas set to 1. You should set it to 0. It won"t change anything but that would give you a green status instead of yellow.
About your heap, check in the 5.1 documentation how to set it properly. I'd suggest that you control that it's correctly set using the cat nodes API.
@dadoonet Thanks for your reply. I have set number of replicas to 0 but it still shows the unassigned shards on my providerseoindex can you please let me know is there a way to remove the unassigned shards.
[quote="Anilkumar061988, post:3, topic:294172"]
Thanks for your reply. I have set number of replicas to 0 but it still shows the unassigned shards on my providerseoindex can you please let me know is there a way to remove the unassigned shards.
Here is how i am creating my index.
elasticClient.CreateIndex(indexRequest.IndexName, c => c
.Mappings(map => map.Map<ESM.Product>(tmd => tmd.AutoMap()))
This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.