# Model\_bytes\_memory\_limit

**URL:** https://discuss.elastic.co/t/model-bytes-memory-limit/303741
**Category:** Elasticsearch
**Tags:** elastic-stack-machine-learning
**Created:** [May 2, 2022, 11:24am UTC](https://discuss.elastic.co/t/model-bytes-memory-limit/303741 "2022-05-02T11:24:02Z")
**Posts on this page:** 1
**Showing post:** 3

<div class="post-metadata">

### Author: ![richcollier](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/richcollier/32/115035_2.png) [@richcollier](https://discuss.elastic.co/u/richcollier)
#### Post date: [May 2, 2022, 12:06pm UTC](https://discuss.elastic.co/t/model-bytes-memory-limit/303741/3 "2022-05-02T12:06:53Z")

</div>

In [your other post](https://discuss.elastic.co/t/resource-utilization-machine-learning/303502), I explained how to roughly estimate the required memory (using the ~30kB per entity value). You'll need to figure out the rough cardinality of the data set you expect to analyze and adjust accordingly. Otherwise, you can just keep trying increased values until the job stops throwing HARD\_LIMIT errors.

---

_[View the full topic](https://discuss.elastic.co/t/model-bytes-memory-limit/303741)._
