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

Development
  1. OpenProject
  2. Forums
  3. Development
  4. Memory leak?

Memory leak?

Added by Väino Vaher about 11 years ago

Hello!
I have just installed OpenProject (3.1.0pre1; Mysql2) on Ubuntu 12.04 LTS 32-bit.
I am running it in a virtual environment and a remote MySQL instance.

Initially I assigned it 1GB RAM and it seemed to be doing OK with that (I am just tinkering, not doing any real work). Within a few hours it had consumed the memory, so I increased it to 2GB RAM. After approx 24 Hrs that is consumed as well.

To a beginner it looks like a memory leak; any amount will be consumed if I only run it long enough. Is that the case? Is there any help?
Should I deploy this for serious work (tens of users hammering at it 24/7) no ammount of memory seems enough. What is the experience of the community?
(I can’t choose OpenOffice for my task if it will run into trouble ever so often).


Replies (4)

RE: Memory leak? - Added by Väino Vaher about 11 years ago

Sorry! I mean “OpenProject”, not “OpenOffice”! I should have had one more cup of coffee!

RE: Memory leak? - Added by Hagen Schink about 11 years ago

Hello Väino,

just some questions for clarification:

  1. Do you use Apache or similar web server?
  2. Which process is eating up all the memory?

Kind regards,
Hagen

RE: Memory leak? - Added by Väino Vaher about 11 years ago

Hello!
1. No, nothing in front of OpenProject. I access it directly on port 3000.
(I am just experimenting with the system so far).
2. I’m running linux. ‘top’ showed that the process ‘ruby’ consumed approx 98% of the [2GB] memory, i.e. Ruby itself was eating all the memory (and also started to consume virtual memory).
(PS! I re-started the system and currently the ‘ruby’ process consumes 200MB at minimal load.)

RE: Memory leak? - Added by Hagen Schink about 11 years ago

Hello Väino,

let me answer your question from the first post (Should I deploy this for serious work?): No, by no means! :-) For production we recommend using Apache with Passenger. For instance, the Debian setup contains instructions on how to set up OpenProject with Apache with Passenger.

I hope this helps you solving the memory issue.

Kind regards,
Hagen

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