From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail1-relais-roc.national.inria.fr (mail1-relais-roc.national.inria.fr [192.134.164.82]) by yquem.inria.fr (Postfix) with ESMTP id 91BBCBC57 for ; Thu, 2 Sep 2010 13:23:10 +0200 (CEST) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AtUAAHolf0zRVde0mWdsb2JhbACTVo0fCBUBAQEBAQgLCgcRIqFHmwaFOQSKGQ X-IronPort-AV: E=Sophos;i="4.56,307,1280700000"; d="scan'208";a="66734918" Received: from mail-ey0-f180.google.com ([209.85.215.180]) by mail1-smtp-roc.national.inria.fr with ESMTP; 02 Sep 2010 13:23:10 +0200 Received: by eya25 with SMTP id 25so169799eya.39 for ; Thu, 02 Sep 2010 04:23:10 -0700 (PDT) MIME-Version: 1.0 Received: by 10.216.157.81 with SMTP id n59mr9146099wek.84.1283426589584; Thu, 02 Sep 2010 04:23:09 -0700 (PDT) Received: by 10.216.154.17 with HTTP; Thu, 2 Sep 2010 04:23:09 -0700 (PDT) X-Originating-IP: [110.33.114.53] Date: Thu, 2 Sep 2010 21:23:09 +1000 Message-ID: Subject: Segfault with humongous heap size From: Paul Steckler To: caml-list@yquem.inria.fr Content-Type: text/plain; charset=ISO-8859-1 X-Spam: no; 0.00; segfault:01 steckler:01 steck:01 ocaml:01 segfault:01 ocaml:01 3.2:98 heap:01 heap:01 shell:04 size:95 size:95 installed:05 installed:05 memory:09 If I enter this in my shell: declare -x OCAMLRUNPARAM="h=3200000000" every OCaml program I run yields a segfault. I have OCaml 3.11.1+rc1 installed on Fedora 12 x64. Of course, that heap size, 3.2G words, is larger than the memory I have installed, but still, I shouldn't get a segfault. -- Paul