caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
From: ls-ocaml-developer-2006@m-e-leypold.de
To: caml-list@inria.fr
Subject: Re: [Caml-list] Possible bug in DynArray module from ExtLib
Date: Wed, 04 Apr 2007 00:40:47 +0200	[thread overview]
Message-ID: <p6vegdf5e8.fsf@hod.lan.m-e-leypold.de> (raw)
In-Reply-To: <87irchm9sf.fsf@mid.deneb.enyo.de> (Florian Weimer's message of "Sat, 31 Mar 2007 22:34:56 +0200")


Florian Weimer <fw@deneb.enyo.de> writes:

> * 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.

So a smarter resizer would be required: One which compares with the
array length limit and satisfies the request with that if necessary
and possible.

Regards -- Markus


  parent reply	other threads:[~2007-04-03 22:33 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-03-31 18:15 Dário Abdulrehman
2007-03-31 20:34 ` Florian Weimer
2007-03-31 20:37   ` Dário Abdulrehman
2007-04-03 22:40   ` ls-ocaml-developer-2006 [this message]
2007-04-04  1:35     ` skaller

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=p6vegdf5e8.fsf@hod.lan.m-e-leypold.de \
    --to=ls-ocaml-developer-2006@m-e-leypold.de \
    --cc=caml-list@inria.fr \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).