Resource usage / Elasticsearch on virtual machine / single node

Dear community,

I am trying to run Elasticsearch for a very small task ( I need to only visualize dmarc data with a couple of records a day so far).

I configured single node in elasticsearch.yml by:

network.host: 127.0.0.1
discovery.type: single-node

The virtual machine however stops being responsive once elasticsearch is started (htops reveils that it consumes very high memory, about 10GB). How could I configure the tool to be less demainding in memory, since the only thing I really need it to do is to work with my dmarc reports, which should be a very tiny task...

Thank you for your help.

Franky.

Hi @FrankyR

What size VM Are you putting elastic on?

What version are you running?

I ask because by design it'll try to claim half the RAM That is because elastic is meant to be run on a VM by itself.

But you can manually set the amount of JVM and you could make it small like 1 gb or 2 GB.

Please read the docs here or make sure you use the correct version of the docs

Hi @stephenb ,
Thanks for the answer. I am running elastic in a LXD container with about 10GB RAM configured afaik. Thanks for sharing the docs. I will have a proper look and investigate.

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.