Version française
Home     About     Download     Resources     Contact us    
Browse thread
Fedora Core 9
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: Shivkumar Chandrasekaran <shiv@e...>
Subject: Re: [Caml-list] Fedora Core 9
I just tried the current CVS version (3.11+dev12) and it compiled fine
on the same setup, even without turning off randomized_va_space.

--shiv--



On Thu, 2008-05-15 at 14:30 -0700, Shivkumar Chandrasekaran wrote:
> Hi,
> 
> I am trying to install the latest release of OCaml 3.10.2 on a Fedora
> Core 9 x86_64 machine. I am getting the same page table problems that
> others were reporting, but was supposedly fixed in this release (?).
> 
> Anyway here are the relevant bits of information.
> 
> [shiv@sobolev ocaml-3.10.2]$ uname -a
> Linux sobolev 2.6.25.3-18.fc9.x86_64 #1 SMP Tue May 13 04:54:47 EDT 2008
> x86_64 x86_64 x86_64 GNU/Linux
> 
> [shiv@sobolev ocaml-3.10.2]$ cat /proc/sys/kernel/randomize_va_space 
> 0
> 
> ../ocamlcompopt.sh -pp './remove_DEBUG' -I ../parsing -I ../utils
> -I ../typing -I ../driver -I ../bytecomp -I ../tools -I ../toplevel/
> -I ../stdlib -I ../otherlibs/str -I ../otherlibs/dynlink
> -I ../otherlibs/unix -I ../otherlibs/num -I ../otherlibs/graph
> -warn-error A -c odoc_sig.ml
> Growing heap to 960k bytes
> Growing page table to 371 entries
> Growing heap to 1440k bytes
> Growing page table to 493 entries
> Growing heap to 1920k bytes
> Growing page table to 615 entries
> Growing heap to 2400k bytes
> Growing page table to 1098 entries
> Growing heap to 2880k bytes
> Growing page table to 1220 entries
> Growing heap to 3360k bytes
> Growing page table to 1342 entries
> Growing heap to 3840k bytes
> Growing page table to 1464 entries
> Growing heap to 4320k bytes
> Growing page table to 34359705235 entries
> No room for growing page table
> Fatal error: out of memory.
> make[1]: *** [odoc_sig.cmx] Error 2
> make[1]: Leaving directory `/home/shiv/Desktop/ocaml-3.10.2/ocamldoc'
> make: *** [ocamldoc.opt] Error 2
> 
> As can be seen I did use
> echo 0 > /proc/sys/kernel/randomize_va_space
> 
> One other piece of information may or may not be relevant. I have 2GB
> RAM installed but my swap partition is set to 8GB.
> 
> Does anyone have any advice on how I can proceed? I did try the binaries
> shipped with Core 9 (and also Godi) and I had the same problems. Thanks,
> 
> --shiv--
> 
> 
> 
> _______________________________________________
> Caml-list mailing list. Subscription management:
> http://yquem.inria.fr/cgi-bin/mailman/listinfo/caml-list
> Archives: http://caml.inria.fr
> Beginner's list: http://groups.yahoo.com/group/ocaml_beginners
> Bug reports: http://caml.inria.fr/bin/caml-bugs