From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.1.3 (2006-06-01) on yquem.inria.fr X-Spam-Level: X-Spam-Status: No, score=0.0 required=5.0 tests=none autolearn=disabled version=3.1.3 X-Original-To: caml-list@yquem.inria.fr Delivered-To: caml-list@yquem.inria.fr Received: from mail4-relais-sop.national.inria.fr (mail4-relais-sop.national.inria.fr [192.134.164.105]) by yquem.inria.fr (Postfix) with ESMTP id CD01EBBAF for ; Fri, 11 Jul 2008 21:49:28 +0200 (CEST) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: Ap4FANBVd0hA6bL2Y2dsb2JhbACRZjkaBB4DkhiGHA X-IronPort-AV: E=Sophos;i="4.30,347,1212357600"; d="scan'208";a="27249796" Received: from hs-out-0708.google.com ([64.233.178.246]) by mail4-smtp-sop.national.inria.fr with ESMTP; 11 Jul 2008 21:49:28 +0200 Received: by hs-out-0708.google.com with SMTP id h53so1059654hsh.11 for ; Fri, 11 Jul 2008 12:49:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:sender :to:subject:mime-version:content-type:content-transfer-encoding :content-disposition:x-google-sender-auth; bh=nP11Z4y8oX2HtyL4kIv24T3FI0+nqOZ1PvIzv+Lk+W8=; b=D4X47JUhyC/7Xd5q0bEEhfsG2ySUA3MXcSgMatEiuw+zo88W3rySaoTT0F7UpW7pne 3OOkgvh5sbs2Pd1bB2chp+eMBqk3fhALW2ty1EBvFsXS9Ie4en7l8VCKdXwZCLCAHy1z XnXdEMxf+JImCoOa12IjwrgW42l6xmds89P78= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:sender:to:subject:mime-version:content-type :content-transfer-encoding:content-disposition:x-google-sender-auth; b=Xkz7+JCsLxyAmOhxWNd7dkrXKoDUvDsTY1MJk02i4iCyXy0U5s41hrru/pV1M3FlNB SG+e15QFEQv6ibzJzzuH8AC5lQflgm0pQ/MWuZXpB1Frb6xucH6tQHeZSlC0s3+V+OFo Puii5QVAeLlYpHKPKp3fjQgBPv8zczX7UBk3k= Received: by 10.100.167.14 with SMTP id p14mr8843818ane.121.1215805766858; Fri, 11 Jul 2008 12:49:26 -0700 (PDT) Received: by 10.100.196.1 with HTTP; Fri, 11 Jul 2008 12:49:26 -0700 (PDT) Message-ID: Date: Fri, 11 Jul 2008 15:49:26 -0400 From: "Jean Krivine" Sender: jean.krivine@gmail.com To: caml-list@yquem.inria.fr Subject: memory usage MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Google-Sender-Auth: f65b746ebc9ba4a0 X-Spam: no; 0.00; krivine:01 krivine:01 ocaml:01 malloc:01 malloc:01 hms:98 data:02 parameter:02 size:95 800:95 debug:05 allocate:06 pro:92 written:07 break:08 Dear list members, I am trying to run a stochastic simulator (written in ocaml) on a huge data set and I have the following error message: sim(9595) malloc: *** mmap(size=1048576) failed (error code=12) *** error: can't allocate region *** set a breakpoint in malloc_error_break to debug Fatal error: out of memory. My system: Mac Pro running OS X 10.5.4 Processor: 2 x 2.8 GHz Quad-Core Intel Xeon Memory: 10 GB 800 MHz DDR2 FB-DIMM Does someone know what happened? Do you have any idea of any parameter I could tune in order to avoid that? Thank you very much! Jean