# Minumum ram size for vector model ( e5, elser)

**URL:** <https://discuss.elastic.co/t/minumum-ram-size-for-vector-model-e5-elser/355782>\
**Category:** Elastic Search\
**Tags:** docker, elastic-app-search\
**Created:** [March 20, 2024, 4:15am UTC](https://discuss.elastic.co/t/minumum-ram-size-for-vector-model-e5-elser/355782 "2024-03-20T04:15:16Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![dan\_kim](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dan_kim/32/95741_2.png) [@dan\_kim](https://discuss.elastic.co/u/dan_kim)\
**Post date:** [March 20, 2024, 4:15am UTC](https://discuss.elastic.co/t/minumum-ram-size-for-vector-model-e5-elser/355782/1 "2024-03-20T04:15:16Z")

</div>

Hello im trying to deploy ml model on my docker es and kibana  
for Test.

and i dont know how much ram size is required for run this model as ingest pipeline .

i trying to deploy it with kibana on this site  
: Machine Learning\> Model Management \> Trained Model

 ![model_issue](https://us1.discourse-cdn.com/elastic/original/3X/4/3/435dacd5e25d9b4a1fc26f96510f50faab53b474.png)

but it says

```auto
not enough memory on node [XD9jqzjXQriFeInG5UPRRA] to assign [1] allocations to deployment [.elser_model_2_with_4g]

```

my docker es machine has 4GB of heap size  
this is result of /localhost:9200/\_cat/nodes?h=heap\*&v

````auto
/localhost:9200/_cat/nodes?h=heap*&v
``` 

````

heap.current heap.percent heap.max  
512.1mb 12 4gb

```auto

```

---

<div class="post-metadata">

**Author:** ![Kathleen\_DeRusso](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/kathleen_derusso/32/132039_2.png) [@Kathleen\_DeRusso](https://discuss.elastic.co/u/Kathleen_DeRusso)\
**Post date:** [March 20, 2024, 4:14pm UTC](https://discuss.elastic.co/t/minumum-ram-size-for-vector-model-e5-elser/355782/2 "2024-03-20T16:14:40Z")

</div>

Hi @dan_kim our [documentation](https://www.elastic.co/guide/en/machine-learning/current/ml-nlp-elser.html) says that 4 GB is the minimum for ELSER, but that may depend on what else you're doing. Can you please share more about your current memory usage?

Also to clarify, the 4GB allocation is on your ML node?

Finally, is turning on autoscaling an option?

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [April 17, 2024, 4:15pm UTC](https://discuss.elastic.co/t/minumum-ram-size-for-vector-model-e5-elser/355782/3 "2024-04-17T16:15:33Z")

</div>

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