My app uses a lot of memory.

is your functionality somehow related to rmagick? in general a bit of growth after application start is ok, while it cache classes, but if it keep growing, you should check why it does. 40mb is not so big footprint for mongrel process, by the way.

no rmagik, is just a query with many results, is not the 40MB that scares me, is what it can be consuming in the near futhur, becauz that query wil return much more results in some time..

Personally I would just wait it out and keep an eye on it. As the last poster said, 40MB isn't a lot, and you don't really have enough information yet. Have you thought about stress testing your app?

Helder Oliveira wrote:

liquidautumn wrote:

is your functionality somehow related to rmagick? in general a bit of growth after application start is ok, while it cache classes, but if it keep growing, you should check why it does. 40mb is not so big footprint for mongrel process, by the way.

On Jun 11, 1:37 am, Helder Oliveira <rails-mailing-l...@andreas-s.net>

no rmagik, is just a query with many results, is not the 40MB that scares me, is what it can be consuming in the near futhur, becauz that query wil return much more results in some time...

Make the query return less then. Rails is not built for processing of huge datasets, so most likely you should either be able to make another query that returns just the data needed or else you should put the query into some kind of background job and cache the results or whatnot.

An explanation of what you're trying to do would be most helpful if you would like further advice.