Closed Raingerlina closed 5 years ago
@Raingerlina could you provide code example to reproduce this?
@dotcypress
I guess it would be a problem to recreate the exact situation because it appears randomly during work. However, I sent the file with the part of the code to your e-mail hello@vitaly.codes (it is more comfortable for me to share it with just you).
Schematically conditions in which this error might appear:
Reinstalled bot, split session into several subsessions: works just fine.
Lately, the bot based on telegraf has started to use huge amounts of ram (peak was at 1Gb when normally it should vary from 80Mb to 150Mb) and I understand that the reason is that I use enormous session (normally I use 1 global session between all chats which contains all needed information).
Is there any way to fix it?