# Memory footprint

**URL:** <https://www.ruby-forum.com/t/memory-footprint/121491>\
**Category:** Rails\
**Created:** [November 28, 2007, 1:19pm UTC](https://www.ruby-forum.com/t/memory-footprint/121491 "2007-11-28T13:19:37Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![deliak](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/d/9e8a1a/32.png) [@deliak](https://www.ruby-forum.com/u/deliak)\
**Post date:** [November 28, 2007, 1:19pm UTC](https://www.ruby-forum.com/t/memory-footprint/121491/1 "2007-11-28T13:19:37Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![deliak](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/d/9e8a1a/32.png) [@deliak](https://www.ruby-forum.com/u/deliak)\
**Post date:** [November 28, 2007, 2:15pm UTC](https://www.ruby-forum.com/t/memory-footprint/121491/2 "2007-11-28T14:15:25Z")

</div>

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, removed\_email\_address@domain.invalid  
[removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid)

---

<div class="post-metadata">

**Author:** ![deliak](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/d/9e8a1a/32.png) [@deliak](https://www.ruby-forum.com/u/deliak)\
**Post date:** [November 28, 2007, 2:23pm UTC](https://www.ruby-forum.com/t/memory-footprint/121491/3 "2007-11-28T14:23:03Z")

</div>

IIRC the unicode tables are quite big, and if you don’t need the  
multibyte love you can probably lose them.

Fred

---

<div class="post-metadata">

**Author:** ![deliak](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/d/9e8a1a/32.png) [@deliak](https://www.ruby-forum.com/u/deliak)\
**Post date:** [November 28, 2007, 11:24pm UTC](https://www.ruby-forum.com/t/memory-footprint/121491/4 "2007-11-28T23:24:54Z")

</div>

Have you tested this with 2.0? I assume the footprint will be much  
smaller with a lot of functionality moving to plugins.

-Bill

removed\_email\_address@domain.invalid wrote:

> Thank you in advance,  
> Emanuele.
> 
> >

–  
Sincerely,

William P.

---

<div class="post-metadata">

**Author:** ![deliak](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/d/9e8a1a/32.png) [@deliak](https://www.ruby-forum.com/u/deliak)\
**Post date:** [November 29, 2007, 10:24am UTC](https://www.ruby-forum.com/t/memory-footprint/121491/5 "2007-11-29T10:24:23Z")

</div>

William P. 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
> 
> removed\_email\_address@domain.invalid wrote:
> 
> > Thank you in advance,  
> > Emanuele.
> > 
> > >
> 
> –  
> Sincerely,
> 
> William P.

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.

---

<div class="post-metadata">

**Author:** ![deliak](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/d/9e8a1a/32.png) [@deliak](https://www.ruby-forum.com/u/deliak)\
**Post date:** [November 29, 2007, 5:00pm UTC](https://www.ruby-forum.com/t/memory-footprint/121491/6 "2007-11-29T17:00:37Z")

</div>

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)!

> **[Rails 2.0: Release Candidate 2](https://rubyonrails.org/2007/11/29/rails-2-0-release-candidate-2)**
>
> After another batch of fixes, tweaks, and buckets of polish, we’ve prepared the hopefully last step before 2.0 can go final: Release Candidate 2. If nothing major pops up, expect the final version to land within the next week or two at the most.As...

-Bill

Emanuele R. wrote:

> > > Emanuele.  
> > > version of rails… however has anyone tested it? Where can I find a  
> > > list of the features moving to plugins?
> 
> Emanuele.

–  
Sincerely,

William P.
