Code Monkey home page Code Monkey logo

Comments (7)

FooBarWidget avatar FooBarWidget commented on May 23, 2024

From honglilai on April 16, 2008 08:40:57

This is intended, in order to speed up startup time as well as to reduce memory usage
if there are a multiple Rails applications.

We could provide a config option in the future. But as a temporary workaround, you
can vendor your Rails framework. That'll make Passenger skip the framework spawner.

By the way, I'm curious as to what code conflicts with ActionWebService.

from passenger.

FooBarWidget avatar FooBarWidget commented on May 23, 2024

From honglilai on May 07, 2008 14:32:16

The latest development version (git repository) should solve your problem. By setting
"RailsSpawnMethod" to "conservative", your application should work fine.

But we recommend you to read the manual (in which RailsSpawnMethod is documented).
There are significant benefits to using the default "smart" spawning method (i.e. as
opposed to "conservative"), namely as lower startup time and reduced memory usage.
Although you don't have to, you should consider making your application compatible.

Status: Fixed
Labels: Milestone-1.1.0

from passenger.

FooBarWidget avatar FooBarWidget commented on May 23, 2024

From mazdakr on May 10, 2008 18:24:10

Perhaps we can have a RailsExcludeComponents a, b, c option.

SOAP4r conflicts.

from passenger.

FooBarWidget avatar FooBarWidget commented on May 23, 2024

From honglilai on May 11, 2008 01:01:51

You can use conservative spawning. That option solves your problem completely.

from passenger.

FooBarWidget avatar FooBarWidget commented on May 23, 2024

From mazdakr on May 12, 2008 06:39:39

I realize that. However, to take advantage of the "optimized" mode, it would be nice to add that option. I realize
adding one more option means having to maintain that option, but since it's a feature that Rails already offers in
its environment.rb, it would be a nice addition to ModRails. I can help with coming up with a spec if you wish.

from passenger.

FooBarWidget avatar FooBarWidget commented on May 23, 2024

From honglilai on May 12, 2008 07:08:40

I don't know, this sounds too much like a corner case. Wouldn't it be easier for you
to adapt your custom code appropriately?

from passenger.

FooBarWidget avatar FooBarWidget commented on May 23, 2024

From mazdakr on May 13, 2008 07:26:01

It's no problem. Most people don't need ActiveResource for example and it would save a bunch of memory
not to have to load it.

from passenger.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.