Project

General

Profile

This project is closed and read-only.

Actions

Bug #1765

closed

rdoc runs out of memory on Windows XP with 4GB RAM

Bug #1765: rdoc runs out of memory on Windows XP with 4GB RAM

Added by Tichy (Björn Günzel) about 17 years ago. Updated over 15 years ago.

Status:
Closed
ruby -v:
ruby 1.9.1p0 (2009-01-30 revision 21907) [i386-mswin32]
[ruby-core:24271]

Description

=begin
I have installed the binary distribution of Ruby 1.9.1 for Windows XP and tried to run rdoc on the source snapshot from today as follows:

rdoc lib ext -o rdoc -S -T kilmer

After quite a while this fails with "NoMemorError", see copied output below. My PC has 4GB of RAM installed. The same command has completed successfully on the same machine with Ubuntu Linux 9.04 64 Bit Edition.

Output:

Generating HTML...
C:/programs/ruby-1.9/lib/ruby/1.9.1/rdoc/generator/html.rb:327:in sort': failed to allocate memory (NoMemoryError) from C:/programs/ruby-1.9/lib/ruby/1.9.1/rdoc/generator/html.rb:327:in
index_to_links'
from C:/programs/ruby-1.9/lib/ruby/1.9.1/rdoc/generator/html.rb:225:in block in gen_into' from C:/programs/ruby-1.9/lib/ruby/1.9.1/rdoc/generator/html.rb:216:in
each'
from C:/programs/ruby-1.9/lib/ruby/1.9.1/rdoc/generator/html.rb:216:in gen_into' from C:/programs/ruby-1.9/lib/ruby/1.9.1/rdoc/generator/html.rb:180:in
generate_html'
from C:/programs/ruby-1.9/lib/ruby/1.9.1/rdoc/generator/html.rb:86:in g enerate' from C:/programs/ruby-1.9/lib/ruby/1.9.1/rdoc/rdoc.rb:279:in document'
from C:/programs/ruby-1.9/bin/rdoc.bat:23:in `

'
=end

Actions

Also available in: PDF Atom