# Could not build html documentation for Ruby with rdoc19

**URL:** <https://www.ruby-forum.com/t/could-not-build-html-documentation-for-ruby-with-rdoc19/173200>\
**Category:** Ruby\
**Created:** [August 4, 2009, 8:40pm UTC](https://www.ruby-forum.com/t/could-not-build-html-documentation-for-ruby-with-rdoc19/173200 "2009-08-04T20:40:58Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![iwakura](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/i/8797f3/32.png) [@iwakura](https://www.ruby-forum.com/u/iwakura)\
**Post date:** [August 4, 2009, 8:40pm UTC](https://www.ruby-forum.com/t/could-not-build-html-documentation-for-ruby-with-rdoc19/173200/1 "2009-08-04T20:40:58Z")

</div>

I’m trying to build html documentation for ruby-1.9.1-p129.  
I have extracted source code and run command:  
rdoc19 -o /tmp/rdoc --inline-source --line-numbers -f html

But it use too much memory (\>2GB with swap) and I must kill process  
when it generated ~20MB of final html documentation.  
Can you, please, suggest how to solve this problem?

Thanks

---

<div class="post-metadata">

**Author:** ![iwakura](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/i/8797f3/32.png) [@iwakura](https://www.ruby-forum.com/u/iwakura)\
**Post date:** [August 8, 2009, 5:59pm UTC](https://www.ruby-forum.com/t/could-not-build-html-documentation-for-ruby-with-rdoc19/173200/2 "2009-08-08T17:59:25Z")

</div>

Taro I. wrote:

> I’m trying to build html documentation for ruby-1.9.1-p129.  
> I have extracted source code and run command:  
> rdoc19 -o /tmp/rdoc --inline-source --line-numbers -f html
> 
> But it use too much memory (\>2GB with swap) and I must kill process  
> when it generated ~20MB of final html documentation.  
> Can you, please, suggest how to solve this problem?

Hmm. use the latest version of rdoc [what is rdoc19?]?  
I’ve run into this before, it does terminate eventually [for me], just  
takes awhile!

here’s online copies:  
[http://rubydoc.ruby-forum.com/](http://rubydoc.ruby-forum.com/)

-r

---

<div class="post-metadata">

**Author:** ![iwakura](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/i/8797f3/32.png) [@iwakura](https://www.ruby-forum.com/u/iwakura)\
**Post date:** [August 8, 2009, 6:50pm UTC](https://www.ruby-forum.com/t/could-not-build-html-documentation-for-ruby-with-rdoc19/173200/3 "2009-08-08T18:50:39Z")

</div>

Taro I. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:

> I must kill process  
> when it generated ~20MB of final html documentation.  
> Can you, please, suggest how to solve this problem?

On my machine, the documentation is about 50 MB.

m.
