English version
Accueil     À propos     Téléchargement     Ressources     Contactez-nous    

Ce site est rarement mis à jour. Pour les informations les plus récentes, rendez-vous sur le nouveau site OCaml à l'adresse ocaml.org.

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: 2006-05-15 (18:18)
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