Rykian / clockwork

A scheduler process to replace cron.
MIT License
544 stars 66 forks source link

High memory usage #5

Closed MaicolBen closed 7 years ago

MaicolBen commented 7 years ago

On my server, the amount of memory is almost proportional to the amount of tasks, I've 21 tasks, and it consumes 90% of the memory (8 GB), if I remove 2-3 tasks, the memory used decreases to 82% and so on. I guess it is the same issue that https://github.com/adamwiggins/clockwork/issues/17

gr8bit commented 7 years ago

I'm curious: do you let clockwork do the work or do you use background runners like ActiveJob, Sidekiq etc.?

MaicolBen commented 7 years ago

Yes, I let clockwork do the job, but I switched to whenever and the memory decreased.

I know that the best is to send to background everything. I'll close this issue since it seems to depend on the code that you're running and not in clockwork.