Version française
Home     About     Download     Resources     Contact us    
Browse thread
[Caml-list] Possible bug in DynArray module from ExtLib
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: Florian Weimer <fw@d...>
Subject: Re: [Caml-list] Possible bug in DynArray module from ExtLib
* Dário Abdulrehman:

> The first of the following functions causes a "Fatal error: exception
> Out_of_memory", while the second works fine.
> This error seems to occur when creating large arrays with more than 2
> million and something entries.

The exponential resizer probably exceeds Ocaml's array length limit,
while direct creation does not.