[MacRuby-devel] [MacRuby] #577: EXC_BAD_ACCESS in IO.read

MacRuby ruby-noreply at macosforge.org
Mon Feb 8 07:35:13 PST 2010


#577: EXC_BAD_ACCESS in IO.read
---------------------------------+------------------------------------------
 Reporter:  spamtrap1@…          |       Owner:  lsansonetti@…        
     Type:  defect               |      Status:  new                  
 Priority:  minor                |   Milestone:                       
Component:  MacRuby              |    Keywords:                       
---------------------------------+------------------------------------------

Comment(by jsn@…):

 I'm now able to build trunk (after updating to latest).

 I've been digging around for this issue, and issue #578.

 The problem persists on the lastest trunk and is, as far as i can tell,
 caused by the system running out of memory.
 With all the buffering going on in io.c (is that even needed on a UNIX
 system, where the kernel normally uses every bit of unused memory for
 caching ?),
 reading a 600 mb file in chunks will require around 1200 mb before it
 finishes, first being cached in io.c, and then a NSString representing
 every chunk.

 It seems this "bug" is not really a bug, but more a design issue, or at
 least closer related to issue #578.

 You can close this one.

-- 
Ticket URL: <http://www.macruby.org/trac/ticket/577#comment:3>
MacRuby <http://macruby.org/>



More information about the MacRuby-devel mailing list