I had similar problem.

On Mon, Jul 13, 2009 at 8:53 PM, Roger Pack <redmine / ruby-lang.org> wrote:

> Issue #1765 has been updated by Roger Pack.
>
>
> As a note, when I run rdoc [v2.3] against trunk on a linux box of mine, it
> takes up ~1.2 G memory (that's what top shows, so possibly more) then does
> complete about 10 minutes later.  Also with some gems it also uses up all
> available memory for some reason.
> ----------------------------------------
> http://redmine.ruby-lang.org/issues/show/1765
>
> ----------------------------------------
> http://redmine.ruby-lang.org
>
>