-
-
Notifications
You must be signed in to change notification settings - Fork 2.6k
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
How to avoid the memory leak #981
Comments
Please provide the reproduce steps. And also instead of asking how, it's better to provide a pull request to fix it. |
maybe it is related to #978 but I'm not sure... still dig in it. |
Using silly log, just run the smallest wechaty getting started demo will get the following result, maybe there are too many checkScan here.
|
This is a typescript bug |
There do have a memory leak. Please keep this issue open. |
Should have been fixed by the related commit. |
When I running wechaty for a while using npm package and hot-import module, I got the following logs
How can I avoid this memory leak?
When I kill the process, I also can see a lot of chrome work background
When I kill all relate process and restart a bot, then I found it still run a lot of chrom background
The text was updated successfully, but these errors were encountered: