# How can I make elastic search as light weight as possible?

**URL:** <https://discuss.elastic.co/t/how-can-i-make-elastic-search-as-light-weight-as-possible/189554>\
**Category:** Elasticsearch\
**Created:** [July 9, 2019, 1:08pm UTC](https://discuss.elastic.co/t/how-can-i-make-elastic-search-as-light-weight-as-possible/189554 "2019-07-09T13:08:18Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![gabriel\_tessier](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/gabriel_tessier/32/27911_2.png) [@gabriel\_tessier](https://discuss.elastic.co/u/gabriel_tessier)\
**Post date:** [July 12, 2019, 12:57am UTC](https://discuss.elastic.co/t/how-can-i-make-elastic-search-as-light-weight-as-possible/189554/4 "2019-07-12T00:57:38Z")

</div>

Hi @surlysmiles

> [@surlysmiles](#):
>
> Another reason I was thinking of Elasticsearch was we are already providing search for our corpus through a web site that would unify the maintainability of our search implementation.

For me this reason is not good, if you run a truck company, it not make sense to always drive truck to unify your transport experience... maybe this example is not good but it's better to adapt the tools to the solution that you build. And it's also an anti-pattern something like this: [Database-as-IPC - Wikipedia](https://en.wikipedia.org/wiki/Database-as-IPC)

You can check about the atom project that use electron and have a search system, maybe asking there can be more efficient. There's certainly some battery included that allow you to have a good search experience with adapted tool for electron.

If you really want to use elastic you can also check about some discussion on installing elastic on raspberry pie, it can help you for the configuration to make it run with limited memory (point 1).

Here:

> [@Running elasticsearch 5.0.0 on a raspberry PI 3](https://discuss.elastic.co/t/running-elasticsearch-5-0-0-on-a-raspberry-pi-3/64208/4):
>
> Doesn't work I've set -Xms512m -Xmx512m but that apparently isn't enough apparently, Raspberry pi 3 only has 1 gb ram. I figure I can get around it by creating a virtual network card and bridging it to my loopback address, because it works if I run it locally. But I've just gone back to an earlier version where it does work so it's all good.

> <https://stackoverflow.com/questions/47335533/elasticsearch-6-0-and-raspberry-pi-3>

Also need to think that elastic need time to start but maybe with few data it can be fast.  
And maybe use the OSS version can be better as there's less battery included so it may use less resources (need to try).

---

_[View the full topic](https://discuss.elastic.co/t/how-can-i-make-elastic-search-as-light-weight-as-possible/189554)._
