# Cannot run forecast, memory usage is predicted to exceed 20MB. v7.8

**URL:** <https://discuss.elastic.co/t/cannot-run-forecast-memory-usage-is-predicted-to-exceed-20mb-v7-8/294623>\
**Category:** Elasticsearch\
**Tags:** elastic-stack-machine-learning\
**Created:** [January 17, 2022, 7:48pm UTC](https://discuss.elastic.co/t/cannot-run-forecast-memory-usage-is-predicted-to-exceed-20mb-v7-8/294623 "2022-01-17T19:48:50Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![ElasticLiver](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/elasticliver/32/64869_2.png) [@ElasticLiver](https://discuss.elastic.co/u/ElasticLiver)\
**Post date:** [January 17, 2022, 7:48pm UTC](https://discuss.elastic.co/t/cannot-run-forecast-memory-usage-is-predicted-to-exceed-20mb-v7-8/294623/1 "2022-01-17T19:48:50Z")

</div>

Hi Im having problems runing a forecast, when I use the kibana GUI it throws me a Bad Request error and when I use devtools I get this error.

`Cannot run forecast: Forecast cannot be executed as forecast memory usage is predicted to exceed 20MB while disk space is exceeded`

Searching in the documentation there is an optional parameter `max_model_memory` but this parameter doesnt exist in my version of elastic 7.8.

what can I do to solve the problem? other than add more nodes...

---

<div class="post-metadata">

**Author:** ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)\
**Post date:** [January 18, 2022, 12:04am UTC](https://discuss.elastic.co/t/cannot-run-forecast-memory-usage-is-predicted-to-exceed-20mb-v7-8/294623/2 "2022-01-18T00:04:37Z")

</div>

7.8 is [EOL](https://www.elastic.co/support/eol) and no longer supported, you should really upgrade 🙂

Chances are there are improvements to help with this, and you can get access to `max_model_memory` as well.

---

<div class="post-metadata">

**Author:** ![ElasticLiver](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/elasticliver/32/64869_2.png) [@ElasticLiver](https://discuss.elastic.co/u/ElasticLiver)\
**Post date:** [January 18, 2022, 2:13am UTC](https://discuss.elastic.co/t/cannot-run-forecast-memory-usage-is-predicted-to-exceed-20mb-v7-8/294623/3 "2022-01-18T02:13:22Z")

</div>

Hi, -thanks Mark, Sadly I can´t upgrade right now, any other thing that you may think to solve this?  
less jobs on the node?  
filter the datafeed?

---

<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:** [February 15, 2022, 2:13am UTC](https://discuss.elastic.co/t/cannot-run-forecast-memory-usage-is-predicted-to-exceed-20mb-v7-8/294623/4 "2022-02-15T02:13:58Z")

</div>

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