# Rasa Is Consuming a lot of Memory

**URL:** <https://forum.rasa.com/t/rasa-is-consuming-a-lot-of-memory/55519>\
**Category:** Rasa Open Source\
**Created:** [September 27, 2022, 8:03am UTC](https://forum.rasa.com/t/rasa-is-consuming-a-lot-of-memory/55519 "2022-09-27T08:03:16Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![nafis](https://avatars.discourse-cdn.com/v4/letter/n/8c91f0/32.png) [@nafis](https://forum.rasa.com/u/nafis)\
**Post date:** [September 27, 2022, 8:03am UTC](https://forum.rasa.com/t/rasa-is-consuming-a-lot-of-memory/55519/1 "2022-09-27T08:03:16Z")

</div>

Hello Rasa Team,

We are using RASA 1.10 and we are in production with our client. It is observed after too many requests the instance is consuming a lot of memory in RAM. approximately 100 request under 5 minutes is resulting 1 GB of memory.

Is tensorflow consuming a portion of RAM for every request? Your input will really help us with further troubleshooting.

Config:

# Configuration for Rasa NLU.

# [https://rasa.com/docs/rasa/nlu/components/](https://rasa.com/docs/rasa/nlu/components/)

language: en pipeline:

- name: WhitespaceTokenizer
- name: RegexFeaturizer
- name: LexicalSyntacticFeaturizer
- name: CountVectorsFeaturizer
- name: CountVectorsFeaturizer analyzer: “char\_wb” min\_ngram: 1 max\_ngram: 4
- name: DIETClassifier epochs: 100
- name: EntitySynonymMapper
- name: ResponseSelector epochs: 100

# Configuration for Rasa Core.

# [https://rasa.com/docs/rasa/core/policies/](https://rasa.com/docs/rasa/core/policies/)

policies:

- name: “FallbackPolicy” nlu\_threshold: 0.4 core\_threshold: 0.3 fallback\_action\_name: “action\_default\_fallback”
- name: MemoizationPolicy
- name: TEDPolicy max\_history: 5 epochs: 100
- name: MappingPolicy
- name: “FormPolicy”

---

<div class="post-metadata">

**Author:** ![Gabrielhall](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/gabrielhall/32/21445_2.png) [@Gabrielhall](https://forum.rasa.com/u/Gabrielhall)\
**Post date:** [September 28, 2022, 6:16am UTC](https://forum.rasa.com/t/rasa-is-consuming-a-lot-of-memory/55519/2 "2022-09-28T06:16:40Z")

</div>

I am Having a same type of issue. The problem is that, by default, it allocates the full amount of available memory when it is launched. I see that all 12 GB of the memory is used up[.](https://www.myallsaversconnect.org/)
