Re: elasticsearch is taking more memory than allocated heap when using bootstrap.mlockall: true

2014-03-11 Thread Subhadip Bagui
Hi, Actually if I fix the ES_MAX_MEM with some value elasticsearch is starting with max of that memory usage only. But when used *bootstrap.mlockall: true *and start elasticsearch it's taking more memory than ES_MAX_MEM. What I'm trying to understand if how much memory elasticsearch will

Re: elasticsearch is taking more memory than allocated heap when using bootstrap.mlockall: true

2014-03-11 Thread joergpra...@gmail.com
There is no connection between ES_MAX_MEM and bootstrap.mlockall. mlockall can not make the JVM taking more memory, the memory consumption is the same. Maybe you set mmapfs and you have seen the difference between virtual memory and resident memory. The recommended setting is to reserve 50% of

elasticsearch is taking more memory than allocated heap when using bootstrap.mlockall: true

2014-03-10 Thread Subhadip Bagui
Hi, I’ve allocated max and min heap same with *ES_HEAP_SIZE=1200m* in elasticsearch and using *bootstrap.mlockall: true *as suggested by elasticsearch so that process memory won’t get swapped. But when elasticsearch I start its taking more memory than max heap mentioned; like 1.4g and