2
Vote

unable to write large strings to stdout

description

originally reported here: http://rubyforge.org/tracker/index.php?func=detail&aid=23485&group_id=4359&atid=16798
 
 
puts "0" * 100_000
mscorlib:0:in `WinIOError': Not enough storage is available to process this command. (IOError)
      from mscorlib:0:in `Write'
      from C:\Sviluppo\ironruby\SVN\trunk\src\IronRuby.Libraries\Builtins\IoOps.cs:682:in `write'
      from C:\Sviluppo\ironruby\SVN\trunk\src\IronRuby.Libraries\Builtins\IoOps.cs:648:in `puts'
      from C:\Sviluppo\ironruby\SVN\trunk\src\IronRuby.Libraries\Builtins\KernelOps.cs:604:in `puts'
      from :0

comments

rogerdpack wrote Feb 13, 2011 at 1:47 AM

interestingly, the workaround described at

http://redmine.ruby-lang.org/issues/show/1063

seems to not work-around it in IR (another bug I'd imagine).
Thanks!