We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
For some reason, GC isn't happening after each scrape, causing the RAM usage to continually grow.
I've added a temp fix in 40d9c52 to manually GC the application, but I need to properly figure out what's going on.
edit: forcing GC with the above commit didn't fix the issue.
Notes: https://bun.sh/docs/project/benchmarking
The text was updated successfully, but these errors were encountered:
Looks like this issue may be related to oven-sh/bun#5659
the result of oxc.parseSync(this.script) doesn't get GC'd, even if the value isn't used.
oxc.parseSync(this.script)
Possible workaround could be to run this in a worker, so that the worker gets killed after parsing.
Sorry, something went wrong.
This should be fixed, pending testing.
I've made it use child processes (workers still didn't free memory). When the child process is terminated, the memory is freed.
No branches or pull requests
For some reason, GC isn't happening after each scrape, causing the RAM usage to continually grow.
I've added a temp fix in 40d9c52 to manually GC the application, but I need to properly figure out what's going on.
edit: forcing GC with the above commit didn't fix the issue.
Notes:
https://bun.sh/docs/project/benchmarking
The text was updated successfully, but these errors were encountered: