Rasa is very slow

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:

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!

1 Like

Same issue here.

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

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