node-telegram-bot-api icon indicating copy to clipboard operation
node-telegram-bot-api copied to clipboard

bot.editMessage leading to memory dump

Open imdkbj opened this issue 5 years ago • 3 comments

Bug Report

I have read:

I am using the latest version of the library.

Expected Behavior

Actual Behavior

Steps to reproduce the Behavior

If multiple user are accessing the bot then bot is being dumped with heap memory error and this is happing with editMessage.

imdkbj avatar May 15 '20 04:05 imdkbj

Could you provide a code snippet?

kamikazechaser avatar May 15 '20 16:05 kamikazechaser

Hey! In my code there are multiple use of the same and most of them are crashing.

This is stable if i convert editmessage to sendMessage.

A sample!! Anything wrong i am doing, this issue use to occur in recent days.

image image

imdkbj avatar May 16 '20 05:05 imdkbj

use https://github.com/ddopson/node-segfault-handler to dump logs

XieJiSS avatar Jul 15 '20 03:07 XieJiSS