Heap vs doc_value

Hi Everyone

i have a question about doc_value, as a rule of thumb, we should give half memory to ES heap, but i think this is for ES 1.x, is that right? with ES 2.x, Doc values are enabled by default, so should i still follow this rule?

for example if i have a server with 64GB memeory , give 30GB to ES heap , is that still correct for ES2.X?

please advice



Hi Mark

thank you for your response , but according to the document , we should give more memory to filesystem cache

so for a 64GB server , should we allocate 10gb to jvm heap and leave rest of memory to system? please advice


No, it says you can, not that you should.

Will all the things you do fit in 10GB of heap?