Top Menu

Jump to content
Home
    Modules
      • Projects
      • Activity
      • Work packages
      • Gantt charts
      • Calendars
      • Team planners
      • Boards
      • News
    • Getting started
    • Introduction video
      Welcome to OpenProject Community
      Get a quick overview of project management and team collaboration with OpenProject. You can restart this video from the help menu.

    • Help and support
    • Upgrade to Enterprise edition
    • User guides
    • Videos
    • Shortcuts
    • Community forum
    • Enterprise support

    • Additional resources
    • Data privacy and security policy
    • Digital accessibility (DE)
    • OpenProject website
    • Security alerts / Newsletter
    • OpenProject blog
    • Release notes
    • Report a bug
    • Development roadmap
    • Add and edit translations
    • API documentation
  • Sign in
      Forgot your password?

      or sign in with your existing account

      Google

Side Menu

  • Overview
  • Activity
    Activity
  • Roadmap
  • Work packages
    Work packages
  • Gantt charts
    Gantt charts
  • Calendars
    Calendars
  • Team planners
    Team planners
  • Boards
    Boards
  • News
  • Forums

Content

Plugins
  1. OpenProject
  2. Forums
  3. Plugins
  4. Memory (RAM) consumption by worker

Memory (RAM) consumption by worker

Added by Ganpat Kalal over 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)

RE: Memory (RAM) consumption by worker - Added by Andreas Pfohl over 2 years ago

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

RE: Memory (RAM) consumption by worker - Added by Oliver Günther over 2 years ago

Hi Ganpat,

I've added this known issue to the development guides: https://github.com/opf/openproject/commit/f43451efe1

Best

Oliver

RE: Memory (RAM) consumption by worker - Added by Ganpat Kalal over 2 years ago

Hi Andreas and Oliver,

Thank you for your replies. I got it.

Thanks & Regards,

Ganpat Kalal

  • (1 - 3/3)
Loading...