After migrating my web app to 2.0.2 I found that the memory
footprint
has actually increased by circa 2Mb.
By memory footprint, which of the 4 different measures of memory
usage
did you look at ?
Fred
RSS
The blog article doesn’t mention any reduction in RSS and also says
why it’s not particularly useful a measurement (in this context).
Fred
I see. I hoped for a reduction in memory usage by rails…
Talking about memory maybe you might give me some light on an issue
thats bothering me since long:
It seems that the nearest the memory fotprint gets to 30Mb or around
with my web apps the sooner it hysterically jumps to 34-37Mb.
I noticed so because with lighttpd which has a lower footprint my app
grows slowly depending on classes loaded through the requests till it
gets to around 30Mb than it jumps to 34-37. With mongrel that has a
bigger footprint it takes less to trigger the memory jump. With mongrel
and 2.0.2 it happens almost as soon as with the first request.
has actually increased by circa 2Mb.
why it’s not particularly useful a measurement (in this context).
It seems that the nearest the memory fotprint gets to 30Mb or around
Not the slightest.
Ruby allocated memory in 8Mb chunks. So when your process gets close
to 16Mb it will jump to 24Mb and when it gets close to 32Mb it will
jump to ~40 and so on.