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

what is the good way to destroy the recorder and release the resource it use? #81

Open
FishBlanche opened this issue Oct 9, 2023 · 1 comment

Comments

@FishBlanche
Copy link

FishBlanche commented Oct 9, 2023

question:
what is the good way to destroy the recorder? It seems that the memory usage keep rising during recording.

In beforeEach:
recorder = new PuppeteerScreenRecorder(pyBell.page);
await recorder.start(./report/video/a.mp4);
after finish executing test case:
await recorder.stop();

just repeat the above steps,After loads of tests,the memory usage rise to unacceptable level,and cause test to fail.

Also tried stream,it turns out the same.

@AriVagelatos-KSO
Copy link

Any update for this? This library is unusable due to memory usage not being released. Any alternatives?

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