Version française
Home     About     Download     Resources     Contact us    
Browse thread
Array 4 MB size limit
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: Nicolas Cannasse <ncannasse@m...>
Subject: Re: [Caml-list] Array 4 MB size limit
> Also, the fact that using lists crashes for the same data set is 
> surprising.  Is there a similar hard limit for lists, or would this be a 
> bug?  Should I post a test case?
> 
> Thanks!
> 
> Frederick Akalin

This is most probably because some list operation is causing a Stack 
Overflow (List.map if I remember correctly). You can use ExtLib 
(http://ocaml-libs.sf.net) for example that provides tail-recursive List 
operations.

Nicolas