# Rasa is very slow

**URL:** <https://forum.rasa.com/t/rasa-is-very-slow/25416>\
**Category:** Rasa Open Source\
**Created:** [February 28, 2020, 5:21pm UTC](https://forum.rasa.com/t/rasa-is-very-slow/25416 "2020-02-28T17:21:45Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![alessandrarequena](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/alessandrarequena/32/5496_2.png) [@alessandrarequena](https://forum.rasa.com/u/alessandrarequena)\
**Post date:** [February 28, 2020, 5:21pm UTC](https://forum.rasa.com/t/rasa-is-very-slow/25416/1 "2020-02-28T17:21:45Z")

</div>

My Rasa Chatbot is getting slow as the conversation history increases. Every time I get “Launch DeLorean”, it takes around three seconds for the next log message, as can be seen below:

2020-02-28 17:11:52 DEBUG rasa.core.policies.memoization - Launch DeLorean… 2020-02-28 17:11:55 DEBUG rasa.core.policies.memoization - Current tracker state [None, None, None, None, None, {}, {‘intent\_cumprimentar’: 1.0

I tried to change max\_history in our custom Tracker Store as explained in the topics below:

> [@Size of trackers in custom tracker store](http://forum.rasa.com/t/size-of-trackers-in-custom-tracker-store/4998):
>
> Hello! I’ve created a custom tracker store object to connect my bot to a centralized key/value store. That store has limits on the size of values and is also remote to my bot. When do trackers get reset or pop old information off of the conversation? Is that configurable? I’d like to ensure trackers don’t exceed my store’s limits. Also, are trackers retrieved/saved for every new user message/bot response? Since it’s remote, larger trackers could eventually impact my bot’s performance. Thanks…

> [@Rasa core memorization policy is very slow when it "launches DeLorean"](http://forum.rasa.com/t/rasa-core-memorization-policy-is-very-slow-when-it-launches-delorean/11619):
>
> Everytime I send a message to the bot, it stucks for a long time when it prints DEBUG rasa\_core.policies.memoization - Launch DeLorean… , maybe around a minute or more. I am already using a small max\_history. This is my policy: policies: name: KerasPolicy epochs: 100 max\_history: 5 name: AugmentedMemoizationPolicy max\_history: 2 name: FormPolicy name: MappingPolicy And my log: 2019-06-17 22:13:18 DEBUG rasa\_core.processor - Action ‘utter\_introduce’ ended with events ‘[]’ 2019-06-1…

I also tried to decrease max\_history of AugmentedMemoizationPolicy in config.yml as below:

- name: AugmentedMemoizationPolicy max\_history: 10

However, these attempts didn’t improve the performance.

Rasa is taking more than 10 seconds to answer. I am using rasa 1.6.1.

I appreciate any help from the community. Thank you!

---

<div class="post-metadata">

**Author:** ![rasafan](https://avatars.discourse-cdn.com/v4/letter/r/b2d939/32.png) [@rasafan](https://forum.rasa.com/u/rasafan)\
**Post date:** [February 29, 2020, 12:07am UTC](https://forum.rasa.com/t/rasa-is-very-slow/25416/2 "2020-02-29T00:07:34Z")

</div>

Same issue here.

---

<div class="post-metadata">

**Author:** ![alessandrarequena](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/alessandrarequena/32/5496_2.png) [@alessandrarequena](https://forum.rasa.com/u/alessandrarequena)\
**Post date:** [March 4, 2020, 1:48pm UTC](https://forum.rasa.com/t/rasa-is-very-slow/25416/3 "2020-03-04T13:48:20Z")

</div>

Is someone facing this problem? How to solve it? It is so slow, it is taking too much time to answer (12 seconds)…

---

<div class="post-metadata">

**Author:** ![Vidush\_05](https://avatars.discourse-cdn.com/v4/letter/v/b9bd4f/32.png) [@Vidush\_05](https://forum.rasa.com/u/Vidush_05)\
**Post date:** [April 20, 2021, 5:05am UTC](https://forum.rasa.com/t/rasa-is-very-slow/25416/4 "2021-04-20T05:05:51Z")

</div>

Hi @alessandrarequena Were you able to solve this issue? I am facing similar issue in production.
