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

Comment(by j...@…):

 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/>

_______________________________________________
MacRuby-devel mailing list
MacRuby-devel@lists.macosforge.org
http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel

Reply via email to