caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
* [Caml-list] ocamlopt segfault on large static array
@ 2019-01-14 19:05 Paul A. Steckler
  2019-01-14 19:28 ` Viet Le
  0 siblings, 1 reply; 2+ messages in thread
From: Paul A. Steckler @ 2019-01-14 19:05 UTC (permalink / raw)
  To: Ocaml Mailing List

In my OCaml program, I have a large static 2D array, where the inner
array contains pairs of strings. The inner arrays each have 2**9
elements, the outer array has about 1700 elements.
The strings are about 90 characters each.

If I compile it with ocamlc 4.07.0, everything is fine. With ocamlopt,
I get a segfault.

What limit am I hitting to get the segfault?

-- Paul

-- 
Caml-list mailing list.  Subscription management and archives:
https://sympa.inria.fr/sympa/arc/caml-list https://inbox.ocaml.org/caml-list
Forum: https://discuss.ocaml.org/
Bug reports: http://caml.inria.fr/bin/caml-bugs

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2019-01-14 19:28 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-01-14 19:05 [Caml-list] ocamlopt segfault on large static array Paul A. Steckler
2019-01-14 19:28 ` Viet Le

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