From: Hongli Lai Date: 2008-12-05T18:22:21+09:00 Subject: [ruby-core:20365] Re: RDoc can't generate documentation of Ruby hemant wrote: > Hi, > > I am wondering if one can use RDoc to generate Ruby documentation for > Ruby core and Ruby stdlib. My past efforts have been more or less met > with failure. RDoc takes up to 1.8GB of RES memory and all the CPU and > then gets stuck. I have tried with version installed with Ruby and > version installed as external gem (Rdoc-2.2.1). > > Since RDoc is a part of standard ruby distribution, I am posting here. > Does it needs a bug report or its just me? (Couple of other folks have > mentioned sample problem on IRC.) Please try my optimization patches in combination with Ruby 1.9: http://izumi.plan99.net/blog/index.php/2008/10/28/optimizing-rdoc/ My optimization patches alone cuts the memory usage in half and makes rdoc generation 3 times faster. Using these patches in combination with Ruby 1.9 will yield even more performance.