Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

机器人最近出错崩掉的频率有点高 #32

Closed
MiniGrayGay opened this issue Jul 25, 2021 · 3 comments
Closed

机器人最近出错崩掉的频率有点高 #32

MiniGrayGay opened this issue Jul 25, 2021 · 3 comments

Comments

@MiniGrayGay
Copy link

G08WV0DRS@QL8FDW3RB 0

大佬,错误如图

@SilveryStar
Copy link
Owner

只看得出是堆内存溢出,具体位置不详,较大可能是 puppeteer 造成的(但是查 issues 没找到类似问题),不清楚是不是你那用户太多的原因,我这跑一个月都没事
node --max-old-space-size=4096 -r ts-node/register app.ts 试试吧

@MiniGrayGay
Copy link
Author

好的好的,那可能是群太多了,机器是4和8G的,--max-old-space-size=4096 需要改到6G吗?

@SilveryStar
Copy link
Owner

应该不用那么多吧2333

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants