Content
You are here:
Memory (RAM) consumption by worker
Added by Ganpat Kalal about 2 years ago
I have just begun with the Openproject and started looking into plugin development. I have noticed that the Ruby server is consuming too much RAM and after a period of time, Ubuntu in VM got frozen and I have to restart it. In the process of finding a solution, I have found the line "worker: bundle exec rake jobs:work" in Procfile.dev file. After commenting this line, now everything is working fine.
My question is, is this line of the statement required to work with a plugin? What is the use of this line?
Replies (3)
Hi,
this line is responsible for starting the background worker process for handling async tasks. It is a known issue that it can happen that memory leaks occur in development mode. Because of the lib we use for that.
https://github.com/collectiveidea/delayed_job/issues/823
As long as no async background tasks need to run while developing the plugin, it can be left out and don't need to be started.
Hope this helps.
Andreas
Hi Ganpat,
I've added this known issue to the development guides: https://github.com/opf/openproject/commit/f43451efe1
Best
Oliver
Hi Andreas and Oliver,
Thank you for your replies. I got it.
Thanks & Regards,
Ganpat Kalal