Say, I’ve got an analysis application using eruby on an internal site,
and it doesn’t need to be perfect, but it is using a lot of memory, and
then it never lets it go. It’s got some multi-dimensional arrays of
gobs of related classes, and I want to do it this way because all the
relationships are clear. It should just run, and then the memory should
get let go when I leave the routine:
def x
gro = Grove.new
markup = gro.domymainbit
return markup
end
but the memory eaten up in gro object never gets released apparently.
Can someone suggest a method to make sure gro, or apache lets all this
memory loose?