Engine/memory

Hello,

I have one large project developed with Rails. It is used by some
clients.
But one of my clients want some sort of customization.

As is is based in the main project, I’m using Engines to make this
client’s changes.
I did this:

  • created an empty project
  • created a symlink to the main project in /vendor/plugins/
  • installed engines
  • put: config.plugins = [“engines”, “*”] (in environment.rb)

Works fine.
But I noticed that when I run it (using mongrel cluster) that it uses
about twice the memory used by the original project.

As the modified project is almost empty, I think that this memory
increase is caused by Engines.

Is this normal, or I made something wrong ??

Thanks
Marcello P.

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs