From: "Dário Abdulrehman" <dario.rehman@gmail.com>
To: caml-list@inria.fr
Subject: possible bug in DynArray module of ExtLib
Date: Sat, 31 Mar 2007 17:19:45 +0100 [thread overview]
Message-ID: <6120f6690703310919k27bb993eufd46e021a0aeb9e3@mail.gmail.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 534 bytes --]
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 past 2 million and
something entries.
Anyone noticed this error?
Thanks.
let test_dynarray1 () =
let a = DynArray.create () in
for i = 1 to 2817131 do
DynArray.add a i
done
let test_dynarray2 () =
let a = DynArray.make 2817131 in
for i = 1 to 2817131 do
DynArray.add a i
done
--
Dário Abdulrehman
[-- Attachment #2: Type: text/html, Size: 748 bytes --]
reply other threads:[~2007-03-31 16:19 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=6120f6690703310919k27bb993eufd46e021a0aeb9e3@mail.gmail.com \
--to=dario.rehman@gmail.com \
--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).