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

Memory leak happening (only 2 cron running) #404

Open
RohitLakh opened this issue Jul 16, 2023 · 3 comments
Open

Memory leak happening (only 2 cron running) #404

RohitLakh opened this issue Jul 16, 2023 · 3 comments

Comments

@RohitLakh
Copy link

RohitLakh commented Jul 16, 2023

I have 2 cron jobs running along with the slack bot which runs once every day at a specific time, but every minute the memory consumption increases. I am also using timezone for running cron. The app is hosted on railway.app.

node-cron version: 3.0.8

Memory graph using node-cron

image

I tried the same code using cron library from npm and the memory usage remains at the same level

Memory graph using cron
image

@StefanNedelchev
Copy link

not sure if it's related to the same issue but there currently is a bug that causes huge memory consumption if you provide a timezone option to your schedulers. Try checking that out first.

@StefanNedelchev
Copy link

Maybe fixed now by #366 ?

@StefanNedelchev
Copy link

@RohitLakh I tested with the latest version and I confirm the issue was fixed by #366 . Can you verify too and close the issue?

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