I also wrote an article a while back on MRI's memory allocation:

http://www.engineyard.com/blog/2010/mri-memory-allocation-a-primer-for-developers/


Kirk Haines