codingteam / horta-hell

Configurable XMPP bot written in Scala based on the Akka framework.
MIT License
15 stars 8 forks source link

Add limit for the Markov message size #384

Closed ForNeVeR closed 8 years ago

ForNeVeR commented 8 years ago

Today Horta felt down with "java.lang.OutOfMemoryError: Java heap space" while preparing the message from the Markov network. We need to limit the resulting message size (because it really could generate big messages with a small probability). Probably we'll need to add this limitation to the Platonus' API.