Maurice.Enciel-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org
2007-Nov-28 12:19 UTC
Memory footprint
Hi Everybody, my rails 1.2.5 application runs in a linux embedded environment with serious memory constraints. I would need to know how small a memory footprint I can hope to get. I run ligthtpd with only one dispatch and I did already remove actionmailer and actionwebservice which I do not need. Currently top shows a memory footprint of 720K for lighttpd and 25M for the dispatch.fcgi process. The smallest the footprint, the better so any suggestion on how to reduce it is very well accepted. Thank you in advance, Emanuele. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
That''s about as small as you can get. I love Rails, but it is a memory hog and it''s only going to grow as you implement more features / serve more users. On Nov 28, 2007 6:19 AM, Maurice.Enciel-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org <Maurice.Enciel-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> > Hi Everybody, > my rails 1.2.5 application runs in a linux embedded environment with > serious memory constraints. I would need to know how small a memory > footprint I can hope to get. I run ligthtpd with only one dispatch and > I did already remove actionmailer and actionwebservice which I do not > need. Currently top shows a memory footprint of 720K for lighttpd and > 25M for the dispatch.fcgi process. > The smallest the footprint, the better so any suggestion on how to > reduce it is very well accepted. > > Thank you in advance, > Emanuele. > > >--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
IIRC the unicode tables are quite big, and if you don''t need the multibyte love you can probably lose them. Fred On 28 Nov 2007, at 13:15, Brian Hogan wrote:> That''s about as small as you can get. I love Rails, but it is a > memory hog and it''s only going to grow as you implement more > features / serve more users. > > On Nov 28, 2007 6:19 AM, Maurice.Enciel-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org <Maurice.Enciel-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org > > wrote: > > Hi Everybody, > my rails 1.2.5 application runs in a linux embedded environment with > serious memory constraints. I would need to know how small a memory > footprint I can hope to get. I run ligthtpd with only one dispatch and > I did already remove actionmailer and actionwebservice which I do not > need. Currently top shows a memory footprint of 720K for lighttpd and > 25M for the dispatch.fcgi process. > The smallest the footprint, the better so any suggestion on how to > reduce it is very well accepted. > > Thank you in advance, > Emanuele. > > >--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
Have you tested this with 2.0? I assume the footprint will be much smaller with a lot of functionality moving to plugins. -Bill Maurice.Enciel-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org wrote:> Hi Everybody, > my rails 1.2.5 application runs in a linux embedded environment with > serious memory constraints. I would need to know how small a memory > footprint I can hope to get. I run ligthtpd with only one dispatch and > I did already remove actionmailer and actionwebservice which I do not > need. Currently top shows a memory footprint of 720K for lighttpd and > 25M for the dispatch.fcgi process. > The smallest the footprint, the better so any suggestion on how to > reduce it is very well accepted. > > Thank you in advance, > Emanuele. > > >-- Sincerely, William Pratt --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
William Pratt wrote:> Have you tested this with 2.0? I assume the footprint will be much > smaller with a lot of functionality moving to plugins. > > -Bill > > Maurice.Enciel-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org wrote: >> Thank you in advance, >> Emanuele. >> > >> > > -- > Sincerely, > > William PrattI''m not too eager to delve in the implementation of a not already stable version of rails... however has anyone tested it? Where can I find a list of the features moving to plugins? Emanuele. -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
As far as finding features moving to plugins, just keep an eye on your log file as you will get a deprecation warning for anything. 2.0 has been really stable for a while now and RC2 was released today which is hoped to be the final release before 2.0 (which may just bee a week or 2 away)! http://weblog.rubyonrails.org/2007/11/29/rails-2-0-release-candidate-2 -Bill Emanuele Ricci wrote:> William Pratt wrote: > >> Have you tested this with 2.0? I assume the footprint will be much >> smaller with a lot of functionality moving to plugins. >> >> -Bill >> >> Maurice.Enciel-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org wrote: >> >>> Thank you in advance, >>> Emanuele. >>> >>> >>> >> -- >> Sincerely, >> >> William Pratt >> > > I''m not too eager to delve in the implementation of a not already stable > version of rails... however has anyone tested it? Where can I find a > list of the features moving to plugins? > > Emanuele. >-- Sincerely, William Pratt --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---