Skip to content

Possible Memory Leak #209

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

Open
mustafacagataytulun opened this issue Jul 17, 2022 · 0 comments
Open

Possible Memory Leak #209

mustafacagataytulun opened this issue Jul 17, 2022 · 0 comments
Assignees

Comments

@mustafacagataytulun
Copy link
Contributor

Describe the bug
The used RAM by StreamViewerBot process dramatically increases over time. It starts normally 300-400 MB. After starting around 10 bots, again, no problem. However, after some time, RAM usage starts to increase. It is more noticeable after a couple of hours.

To Reproduce
Steps to reproduce the behavior:

  1. Start program as usual.
  2. Start 10-15 bots non-Headless to watch any live stream on Twitch.
  3. Open Task Manager.
  4. See that RAM usage by StreamViewerBot process is about 300-500 MB on Task Manager.
  5. Wait a couple of hours (Even before 1 hour, you will notice the increase of RAM usage).
  6. See that RAM usage is increased.

Screenshots
Bot settings

Task Manager

Desktop (please complete the following information):

  • OS: Windows 10
  • Chrome Version 103.0.5060.114 (Official Build) (64-bit)
  • Bot Version 3.0.2
  • Twitch stream service

Additional context
Note that it is only for StreamViewerBot process. Usage of Chrome processes can be seen separately on Task Manager normally, each eating about 300-400 MB.

Additional note: It may be related to #175 as we can see that RAM usage has been increased there also. Some kind of memory pressure could cause that unexpected behavior.

P.S. I could debug this. However, I cannot build the application on my machine right now as there is no development branch I can see, and BotCore is deleted, so I cannot build the project even on main branch.

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