[Boulder Ruby Group] rails/ruby memory leak

ara.t.howard ara.t.howard at gmail.com
Sun Sep 30 12:02:43 EDT 2007


hi all

i've been chasing my tail on a tiny memory leak for a few days.  i
isolated the cause to what amounts to a rails project with database
sessions enabled.  now i'm not sure that the leak is in rails, in fact
i think it's in ruby's cgi/session.rb but i want to gather a few data
points to confirm the leak i'm seeing.  if you have a little time,
check out

   http://drawohara.tumblr.com/post/13655303

or just grab the project from

   http://s3.amazonaws.com/drawohara.com.downloads/leak.tgz

and get it running on your box.  it should be *very* quick to do if
you have sqlite3 installed.  running it is also easy, but seeing the
leak can take a bit of time - 30 minutes to 6 hours depending on how
fast your box can hammer ./script/server.  anyhow, people can report
here or to me directly.  i'll summarize my findings and, if there is
in fact a leak in either ruby or rails - follow up with a bug report.

kind regards.

a @ http://drawohara.com/
--
we can deny everything, except that we have the possibility of being  
better. simply reflect on that.
h.h. the 14th dalai lama





More information about the Bdrg-members mailing list