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: Oliver Bandel <oliver@f...>
Subject: Re: [Caml-list] Array 4 MB size limit
On Mon, May 15, 2006 at 02:12:30PM -0400, akalin@akalin.cx wrote:
> I'm running into cases where the 4 MB limit on arrays is starting to 
> become a problem.

ooops :(

> Lists are much slower and cause seg faults for me on 
> the same data set,

well.... exceptions can be acceptable, but segfaults?
Very unnice :(
Shouldn't be...


[...]
> 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?
[...]

Do you really need an array or other linear data structures?
Couldn't the problem be re-formulated to use trees instead (Map/Set)?
(hoping these limitations are not there...)


Ciao,
   Oliver