ããªãã¢çãªãã®ã ãããã¤ã¾ã¿ã¾ãã Ruby 1.9 ã§ã¯ 65536 è¡ç®ã§è¡æ°ããªã¼ãã¼ããã¼ãã (ãã¨ããã) å®è¡çµæã¯ç°å¢ã«ãã£ã¦ç°ãªãã¾ãã Ruby 1.8 ã§ã¯ 8192 è¡ç®ã§ããã Ruby 1.9 ã¯ãèªåã®ãã·ã³ã§ã¯ 65536 è¡ç®ã§ãªã¼ãã¼ããã¼ãã¾ããã $ cat test.rb File.open("overflow.rb", "w") do |fp| 65536.times { fp.puts } fp.puts("raise") end $ ruby19 test.rb $ ruby19 overflow.rb overflow.rb:1:in `<main>': unhandled exceptionã¨ã©ã¼çºçè¡çªå·ã 1 ã«ãªã£ã¦ãã¾ãã ãã ãå®è£ ãã¿ãã¨è¡çªå·ãè¨æ¶ããé¨åã (VALUE ã 32 bit ã¨ããã¨) 17 bit ã¨ãªã£
{{#tags}}- {{label}}
{{/tags}}