Version française
Home     About     Download     Resources     Contact us    

This site is updated infrequently. For up-to-date information, please visit the new OCaml website at

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: 2007-03-31 (20:35)
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.