Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Out of Memory #2916

Closed
vicuna opened this issue Jul 7, 2004 · 2 comments
Closed

Out of Memory #2916

vicuna opened this issue Jul 7, 2004 · 2 comments
Labels

Comments

@vicuna
Copy link

vicuna commented Jul 7, 2004

Original bug ID: 2916
Reporter: administrator
Status: closed
Resolution: fixed
Priority: normal
Severity: minor
Category: ~DO NOT USE (was: OCaml general)
Related to: #4583

Bug description

Hello again,

this time I have a real problem of the release308 branch: ocamlc stops
with "Out of Memory" when compiling one of the ocamlnet source files.
Apparently, this is not true, as the mremap syscall always succeeds, so
the error seems to be produced by the ocaml runtime system itself.

OS: Debian 3.0 (stable)
O'Caml version: branch release308 of 2004-07-07 13:30

The affected ocamlnet source code: 0.97.1 (get from
http://sourceforge.net/projects/ocamlnet), in particular
netconversion.ml

You can also try to reproduce this error with the GODI release for the
CVS version, explained in
https://gps.dynxs.de/pipermail/godi-list/2004-July/000166.html

I attach the output from the build, the strace from running the failing
ocamlc run, and a trace with OCAMLRUNPARAM=v=511. I cannot, however, see
anything relevant.

Gerd


Gerd Stolpmann * Viktoriastr. 45 * 64293 Darmstadt * Germany
gerd@gerd-stolpmann.de http://www.gerd-stolpmann.de


===> Cleaning for godi-ocamlnet-0.97.1
=> Checksum OK for ocamlnet-0.97.1.tar.gz.
===> Extracting for godi-ocamlnet-0.97.1
===> Required installed package godi-ocaml>=3.06: godi-ocaml-3.08testCVSgodi2 found
===> Required installed package godi-pcre>=5: godi-pcre-5.03.3godi7 found
===> Required installed package godi-findlib>=0.8.1: godi-findlib-1.0.4 found
===> Patching for godi-ocamlnet-0.97.1
===> Configuring for godi-ocamlnet-0.97.1
Welcome to Ocamlnet version 0.97.1
Checking for findlib... found
Checking multi-threading support... posix
Checking for PCRE... found

Effective options:
-enable-findlib
-with-netstring
-with-cgi
-with-pop
-datadir /play/godi/share/godi-ocamlnet

Writing netstring/META
Writing cgi/META
Writing pop/META
Writing Makefile.conf

Please check Makefile.conf.

You can now compile Ocamlnet by invoking
make all
for the bytecode compiler, and optionally by invoking
make opt
for the native-code compiler (if supported on your architecture).
Finally, a
make install
will install the package(s).
===> Building for godi-ocamlnet-0.97.1
make: Entering directory /play/godi/build/godi/godi-ocamlnet/work/ocamlnet-0.97.1/src' #/usr/bin/make -C tools all for pkg in netstring cgi pop; do /usr/bin/make -C $pkg all || exit; done make[1]: Entering directory /play/godi/build/godi/godi-ocamlnet/work/ocamlnet-0.97.1/src/netstring'
ocamlfind ocamlc -g -package "unix pcre" -c netdb.mli
sed -e 's:@NET_DB_DIR@:/play/godi/share/godi-ocamlnet:' netdb.mlp >netdb.ml
ocamldep *.ml *.mli >depend
make[1]: Leaving directory /play/godi/build/godi/godi-ocamlnet/work/ocamlnet-0.97.1/src/netstring' make[1]: Entering directory /play/godi/build/godi/godi-ocamlnet/work/ocamlnet-0.97.1/src/netstring'
ocamlfind ocamlc -g -package "unix pcre" -c netstring_pcre.mli
ocamlfind ocamlc -g -package "unix pcre" -c netstring_pcre.ml
ocamlfind ocamlc -g -package "unix pcre" -c netstring_str.mli
ocamlfind ocamlc -g -package "unix pcre" -c netstring_str.ml
ocamlfind ocamlc -g -package "unix pcre" -c netbuffer.mli
ocamlfind ocamlc -g -package "unix pcre" -c netbuffer.ml
ocamlfind ocamlc -g -package "unix pcre" -c netaux.mli
ocamlfind ocamlc -g -package "unix pcre" -c netaux.ml
ocamlfind ocamlc -g -package "unix pcre" -c netchannels.mli
ocamlfind ocamlc -g -package "unix pcre" -c netchannels.ml
ocamlfind ocamlc -g -package "unix pcre" -c netdate.mli
ocamlfind ocamlc -g -package "unix pcre" -c netdate.ml
File "netdate.ml", line 171, characters 10-280:
Warning: Bad style, all clauses in this pattern-matching are guarded.
ocamlfind ocamlc -g -package "unix pcre" -c netdb.ml
ocamlfind ocamlc -g -package "unix pcre" -c netmappings.mli
ocamlfind ocamlc -g -package "unix pcre" -c netmappings.ml
ocamlfind ocamlc -g -package "unix pcre" -c netconversion.mli
ocamlfind ocamlc -g -package "unix pcre" -c netconversion.ml
Fatal error: exception Out_of_memory
make[1]: *** [netconversion.cmo] Fehler 2
make[1]: Leaving directory /play/godi/build/godi/godi-ocamlnet/work/ocamlnet-0.97.1/src/netstring' make: Leaving directory /play/godi/build/godi/godi-ocamlnet/work/ocamlnet-0.97.1/src'
make: *** [all] Fehler 2
*** Error code 2

Stop.
godi_make: stopped in /play/godi/build/godi/godi-ocamlnet
*** Error code 1

Stop.
godi_make: stopped in /play/godi/build/godi/godi-ocamlnet


execve("/play/godi/bin/ocamlc", ["ocamlc", "-g", "netconversion.ml"], [/* 24 vars /]) = 0
uname({sys="Linux", node="ice", ...}) = 0
brk(0) = 0x8067c80
open("/etc/ld.so.preload", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/etc/ld.so.cache", O_RDONLY) = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=64742, ...}) = 0
old_mmap(NULL, 64742, PROT_READ, MAP_PRIVATE, 3, 0) = 0x40014000
close(3) = 0
open("/lib/libm.so.6", O_RDONLY) = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\2007\0"..., 1024) = 1024
fstat64(3, {st_mode=S_IFREG|0644, st_size=130088, ...}) = 0
old_mmap(NULL, 132708, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x40024000
mprotect(0x40044000, 1636, PROT_NONE) = 0
old_mmap(0x40044000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 0x1f000) = 0x40044000
close(3) = 0
open("/lib/libdl.so.2", O_RDONLY) = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0T\27\0\000"..., 1024) = 1024
fstat64(3, {st_mode=S_IFREG|0644, st_size=8008, ...}) = 0
old_mmap(NULL, 11004, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x40045000
mprotect(0x40047000, 2812, PROT_NONE) = 0
old_mmap(0x40047000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 0x1000) = 0x40047000
close(3) = 0
open("/lib/libncurses.so.5", O_RDONLY) = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0@\337\0"..., 1024) = 1024
fstat64(3, {st_mode=S_IFREG|0644, st_size=248132, ...}) = 0
old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x40048000
old_mmap(NULL, 253056, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x40049000
mprotect(0x4007e000, 35968, PROT_NONE) = 0
old_mmap(0x4007e000, 36864, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 0x34000) = 0x4007e000
close(3) = 0
open("/lib/libpthread.so.0", O_RDONLY) = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0C\0\000"..., 1024) = 1024 fstat64(3, {st_mode=S_IFREG|0644, st_size=102172, ...}) = 0 old_mmap(NULL, 81316, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x40087000 mprotect(0x40094000, 28068, PROT_NONE) = 0 old_mmap(0x40094000, 28672, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 0xd000) = 0x40094000 close(3) = 0 open("/lib/libc.so.6", O_RDONLY) = 3 read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\30\222"..., 1024) = 1024 fstat64(3, {st_mode=S_IFREG|0755, st_size=1153784, ...}) = 0 old_mmap(NULL, 1166560, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x4009b000 mprotect(0x401ae000, 40160, PROT_NONE) = 0 old_mmap(0x401ae000, 24576, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 0x113000) = 0x401ae000 old_mmap(0x401b4000, 15584, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x401b4000 close(3) = 0 munmap(0x40014000, 64742) = 0 getrlimit(0x3, 0xbffff82c) = 0 setrlimit(RLIMIT_STACK, {rlim_cur=2044*1024, rlim_max=RLIM_INFINITY}) = 0 getpid() = 6238 uname({sys="Linux", node="ice", ...}) = 0 rt_sigaction(SIGRTMIN, {0x4008f480, [], 0x4000000}, NULL, 8) = 0 rt_sigaction(SIGRT_1, {0x4008f508, [], 0x4000000}, NULL, 8) = 0 rt_sigaction(SIGRT_2, {0x4008f608, [], 0x4000000}, NULL, 8) = 0 rt_sigprocmask(SIG_BLOCK, [RTMIN], NULL, 8) = 0 _sysctl({{CTL_KERN, KERN_VERSION}, 2, 0xbffff634, 32, (nil), 0}) = 0 brk(0) = 0x8067c80 brk(0x8067cb0) = 0x8067cb0 brk(0x8068000) = 0x8068000 readlink("/proc/self/exe", "/play/godi/bin/ocamlrun", 256) = 23 stat64("/play/godi/bin/ocamlrun", {st_mode=S_IFREG|0775, st_size=155082, ...}) = 0 open("/play/godi/bin/ocamlrun", O_RDONLY|O_LARGEFILE) = 3 read(3, "\177E", 2) = 2 _llseek(3, -16, [155066], SEEK_END) = 0 read(3, "terminfo_backup\0", 16) = 16 close(3) = 0 open("/play/godi/bin/ocamlc", O_RDONLY|O_LARGEFILE) = 3 _llseek(3, -16, [962986], SEEK_END) = 0 read(3, "\0\0\0\7Caml1999X008", 16) = 16 _llseek(3, -72, [962930], SEEK_END) = 0 read(3, "CODE\0\f\264\324DLPT\0\0\0\0DLLS\0\0\0\0PRIM\0\0\22t"..., 56) = 56 old_mmap(NULL, 135168, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x401b8000 brk(0x806d000) = 0x806d000 old_mmap(NULL, 253952, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x401d9000 brk(0x8070000) = 0x8070000 brk(0x8075000) = 0x8075000 _llseek(3, -962976, [26], SEEK_END) = 0 old_mmap(NULL, 835584, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x40217000 read(3, "T\0\0\0\337\3\0\0)\0\0\0*\0\0\0\1\0\0\0\0\0\0\0V\0\0\0"..., 832724) = 832724 _llseek(3, -130252, [832750], SEEK_END) = 0 read(3, "", 0) = 0 _llseek(3, -130252, [832750], SEEK_END) = 0 read(3, "", 0) = 0 _llseek(3, -130252, [832750], SEEK_END) = 0 read(3, "caml_alloc_dummy\0caml_update_dum"..., 4724) = 4724 stat64("/play/godi/lib/ocaml/std-lib/ld.conf", {st_mode=S_IFREG|0664, st_size=144, ...}) = 0 open("/play/godi/lib/ocaml/std-lib/ld.conf", O_RDONLY|O_LARGEFILE) = 4 read(4, "/play/godi/lib/ocaml/std-lib/stu"..., 144) = 144 close(4) = 0 _llseek(3, -125528, [837474], SEEK_END) = 0 _llseek(3, 0, [837474], SEEK_CUR) = 0 read(3, "\204\225\246\276\0\1\330\5\0\0\17\203\0\0\232\316\0\0c"..., 4096) = 4096 brk(0x8093000) = 0x8093000 read(3, "ile. It would hide\nthe addition "..., 4096) = 4096 read(3, "\177\0\177\0\177\0\177\0\177\0\177\0\177\0\177\0\177\0"..., 4096) = 4096 read(3, "\237\1l)\0\0\0\0T\3\2\2\0\0\316\1\231\1\33\3\23\1\326\4"..., 4096) = 4096 read(3, "\0q\0\347\1A\2\317\2\200\1G\1\33\2B\2\r\1q\0\274\3\266"..., 4096) = 4096 read(3, "\0\336\0\336\0\336\0\336\0\336\0\336\0\336\0\336\0\336"..., 4096) = 4096 read(3, "\0\275\0\0\0\0\0\275\0\0\0\0\0\275\0\0\0\0\0\0\0\275\0"..., 4096) = 4096 read(3, "\1\0\0\t\1\t\1\0\0\0\0\0\0\0\0\0\0\0\0\0\0\t\1\0\0\0\0"..., 4096) = 4096 read(3, "\0)\0\0\0\0\0\0\0\0\0*\0+\0,\0-\0\6\0\7\0\0\0\0\0.\0\10"..., 4096) = 4096 read(3, "\1\0\0\0\0\0\0\0\0\351\1\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"..., 4096) = 4096 read(3, ">\1K\0015\1d\1\"\1J\1\33\1\34\1\0\1\206\2\6\0Y\1U\1\214"..., 4096) = 4096 read(3, "_\1\1a\1b\1\377\377d\1e\1\377\377g\1\377\377\377\377\377"..., 4096) = 4096
read(3, "N\1\377\377\377\377\377\377\377\377\377\377T\1U\1\377\377"..., 4096) = 4096
read(3, "\377\377\377\377\377\377\377\377\377\377\377\377=\1\377"..., 4096) = 4096
read(3, "W\1\377\377Y\1Z\1\0\0\\1\377\377\377\377\0\0\377\377\377"..., 4096) = 4096
read(3, "\377\377\377\377\377\377\377\377\377\377\377\377\377\377"..., 4096) = 4096
read(3, "\31\0\v\0\377\377\377\377\377\377\377\377\377\377\377\377"..., 4096) = 4096
read(3, "\34\0\34\0\0\0\0\0\0\0\34\0\34\0\0\0\34\0\34\0\34\0\0\0"..., 4096) = 4096
read(3, "\0\10\0\10\0\n\0\377\377\n\0\n\0\n\0\n\0\n\0\n\0\n\0\n"..., 4096) = 4096
read(3, "\377\377\377\377\377\377\377\377\377\377\377\377\377\377"..., 4096) = 4096
read(3, "ig_modtype "%s"\n-Psig_open %a\n-P"..., 4096) = 4096
read(3, "e_abbrev\221@.dummy method0Ctype."..., 4096) = 4096
read(3, "7\1\4\207N\260\0048\1\4vH\260\0049\1\4rH\260\4:\1\4kL\260"..., 4096) = 4096
read(3, " 7it should have type@ %a\t+This "..., 4096) = 4096
read(3, "t named %a@]\t\211@[@[In this wi"..., 4096) = 4096 read(3, "ng_notequalB@ @\230@\230A\230D\230B\230E\230C,Matc"..., 4096) = 4096 read(3, "onst_const-app_const_env.app_con"..., 4096) = 4096 read(3, "channel_size7caml_ml_channel_siz"..., 4096) = 4096 read(3, "ubmet %i.\tevent \"%s\" %i@@\240@@\221@5E"..., 4096) = 4096 read(3, "ibrary and exit\"-v\t)<file> (dep"..., 4096) = 4096 brk(0x8097000) = 0x8097000 brk(0x8074000) = 0x8074000 close(3) = 0 _llseek(0, 0, 0xbffff758, SEEK_CUR) = -1 ESPIPE (Illegal seek) brk(0x8076000) = 0x8076000 _llseek(1, 0, 0xbffff738, SEEK_CUR) = -1 ESPIPE (Illegal seek) _llseek(2, 0, [8184], SEEK_CUR) = 0 gettimeofday({1089200716, 692664}, NULL) = 0 getppid() = 6237 getpid() = 6238 stat64("pervasives.cmi", 0xbffff79c) = -1 ENOENT (No such file or directory) stat64("Pervasives.cmi", 0xbffff79c) = -1 ENOENT (No such file or directory) stat64("/play/godi/lib/ocaml/std-lib/pervasives.cmi", {st_mode=S_IFREG|0664, st_size=13449, ...}) = 0 open("/play/godi/lib/ocaml/std-lib/pervasives.cmi", O_RDONLY|O_LARGEFILE) = 3 fcntl64(3, F_SETFD, FD_CLOEXEC) = 0 brk(0x8078000) = 0x8078000 _llseek(3, 0, [0], SEEK_CUR) = 0 read(3, "Caml1999I010\204\225\246\276\0\00046\0\0\n\225\0\0%\263"..., 4096) = 4096 brk(0x807c000) = 0x807c000 read(3, "\346@\220@\2\5\365\341\0\1\377=@\2\5\365\341\0\1\377>\220"..., 4096) = 4096 read(3, "\236\260\262\5\1S@\220@\2\5\365\341\0\1\376\237@\2\5\365"..., 4096) = 4096 read(3, "\341\0\1\375\337\260\262\5\4l@\220@\2\5\365\341\0\1\375"..., 4096) = 1161 brk(0x807f000) = 0x807f000 close(3) = 0 old_mmap(NULL, 253952, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x402e3000 open("netconversion.cmo", O_WRONLY|O_CREAT|O_TRUNC|O_LARGEFILE, 0666) = 3 fcntl64(3, F_SETFD, FD_CLOEXEC) = 0 _llseek(3, 0, [0], SEEK_CUR) = 0 open("netconversion.ml", O_RDONLY|O_LARGEFILE) = 4 fcntl64(4, F_SETFD, FD_CLOEXEC) = 0 _llseek(4, 0, [0], SEEK_CUR) = 0 read(4, "(* $Id: netconversion.ml,v 2.15 "..., 4096) = 4096 read(4, "INDOWS-1254 *)\n | Set_windows"..., 4096) = 4096
read(4, " "LATIN8"; "ISOIR199"; \n\t\t\t "ISO"..., 4096) = 4096
read(4, " | Set_windows1255 -> \"windows"..., 4096) = 4096 read(4, " ref [] in\n List.iter\n (fun "..., 4096) = 4096 read(4, "=\n (* UNSAFE_OPT *)\n assert(Ar"..., 4096) = 4096 read(4, " if n2 < 128 or n2 > 191 th"..., 4096) = 4096 old_mmap(NULL, 253952, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x40321000 read(4, "1);\n );\n (n,k,enc)\n;;\n\n\nlet re"..., 4096) = 4096 read(4, "et = (-1)) then n_ret := !n;\n "..., 4096) = 4096 read(4, "<= String.length s_out && l_out "..., 4096) = 4096 read(4, "\t (Char.unsafe_chr (0xc0 lor "..., 4096) = 4096 old_mmap(NULL, 253952, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x4035f000 read(4, "lse (-1)\n end\n in\n if"..., 4096) = 4096 read(4, "\t\th := !h + 2\n\t done;\n\t !r"..., 4096) = 4096 read(4, "not_represent p);\n\t\t\t p)\n | "..., 4096) = 4096 old_mmap(NULL, 253952, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x4039d000 read(4, "c\', in_k_inc\' =\n if in_n_in"..., 4096) = 4096 read(4, " enough space in out_buf to add "..., 4096) = 4096 read(4, " used.\n *)\n (* method"..., 4096) = 4096 read(4, " *)\n go (num-n-1) "..., 4096) = 4096 read(4, "slice_char, cs.cursor_slice_blen"..., 4096) = 4096 read(4, "\n;;\n\n\nlet copy_cursor ?enc cs =\n"..., 4096) = 4096 read(4, "et slice_char = Array.make slice"..., 4096) = 4096 old_mmap(NULL, 253952, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x403db000 read(4, "ort for ISO-8858-16 character en"..., 4096) = 1844 read(4, "", 4096) = 0 close(4) = 0 stat64("list.cmi", 0xbffff79c) = -1 ENOENT (No such file or directory) stat64("List.cmi", 0xbffff79c) = -1 ENOENT (No such file or directory) stat64("/play/godi/lib/ocaml/std-lib/list.cmi", {st_mode=S_IFREG|0664, st_size=5020, ...}) = 0 open("/play/godi/lib/ocaml/std-lib/list.cmi", O_RDONLY|O_LARGEFILE) = 4 fcntl64(4, F_SETFD, FD_CLOEXEC) = 0 _llseek(4, 0, [0], SEEK_CUR) = 0 read(4, "Caml1999I010\204\225\246\276\0\0\0231\0\0\3\306\0\0\r\236"..., 4096) = 4096 read(4, "\205%split@\240\260\300\5\3\"\260\262\5\3!\240\260\221"..., 4096) = 924 close(4) = 0 stat64("netstring_pcre.cmi", {st_mode=S_IFREG|0664, st_size=3652, ...}) = 0 open("netstring_pcre.cmi", O_RDONLY|O_LARGEFILE) = 4 fcntl64(4, F_SETFD, FD_CLOEXEC) = 0 _llseek(4, 0, [0], SEEK_CUR) = 0 read(4, "Caml1999I010\204\225\246\276\0\0\r\267\0\0\2\314\0\0\n"..., 4096) = 3652 close(4) = 0 stat64("pcre.cmi", 0xbffff79c) = -1 ENOENT (No such file or directory) stat64("Pcre.cmi", 0xbffff79c) = -1 ENOENT (No such file or directory) stat64("/play/godi/lib/ocaml/std-lib/pcre.cmi", 0xbffff79c) = -1 ENOENT (No such file or directory) stat64("/play/godi/lib/ocaml/std-lib/Pcre.cmi", 0xbffff79c) = -1 ENOENT (No such file or directory) stat64("pcre.cmi", 0xbffff79c) = -1 ENOENT (No such file or directory) stat64("Pcre.cmi", 0xbffff79c) = -1 ENOENT (No such file or directory) stat64("/play/godi/lib/ocaml/std-lib/pcre.cmi", 0xbffff79c) = -1 ENOENT (No such file or directory) stat64("/play/godi/lib/ocaml/std-lib/Pcre.cmi", 0xbffff79c) = -1 ENOENT (No such file or directory) stat64("pcre.cmi", 0xbffff79c) = -1 ENOENT (No such file or directory) stat64("Pcre.cmi", 0xbffff79c) = -1 ENOENT (No such file or directory) stat64("/play/godi/lib/ocaml/std-lib/pcre.cmi", 0xbffff79c) = -1 ENOENT (No such file or directory) stat64("/play/godi/lib/ocaml/std-lib/Pcre.cmi", 0xbffff79c) = -1 ENOENT (No such file or directory) stat64("pcre.cmi", 0xbffff79c) = -1 ENOENT (No such file or directory) stat64("Pcre.cmi", 0xbffff79c) = -1 ENOENT (No such file or directory) stat64("/play/godi/lib/ocaml/std-lib/pcre.cmi", 0xbffff79c) = -1 ENOENT (No such file or directory) stat64("/play/godi/lib/ocaml/std-lib/Pcre.cmi", 0xbffff79c) = -1 ENOENT (No such file or directory) stat64("pcre.cmi", 0xbffff79c) = -1 ENOENT (No such file or directory) stat64("Pcre.cmi", 0xbffff79c) = -1 ENOENT (No such file or directory) stat64("/play/godi/lib/ocaml/std-lib/pcre.cmi", 0xbffff79c) = -1 ENOENT (No such file or directory) stat64("/play/godi/lib/ocaml/std-lib/Pcre.cmi", 0xbffff79c) = -1 ENOENT (No such file or directory) stat64("pcre.cmi", 0xbffff79c) = -1 ENOENT (No such file or directory) stat64("Pcre.cmi", 0xbffff79c) = -1 ENOENT (No such file or directory) stat64("/play/godi/lib/ocaml/std-lib/pcre.cmi", 0xbffff79c) = -1 ENOENT (No such file or directory) stat64("/play/godi/lib/ocaml/std-lib/Pcre.cmi", 0xbffff79c) = -1 ENOENT (No such file or directory) stat64("string.cmi", 0xbffff79c) = -1 ENOENT (No such file or directory) stat64("String.cmi", 0xbffff79c) = -1 ENOENT (No such file or directory) stat64("/play/godi/lib/ocaml/std-lib/string.cmi", {st_mode=S_IFREG|0664, st_size=3087, ...}) = 0 open("/play/godi/lib/ocaml/std-lib/string.cmi", O_RDONLY|O_LARGEFILE) = 4 fcntl64(4, F_SETFD, FD_CLOEXEC) = 0 _llseek(4, 0, [0], SEEK_CUR) = 0 read(4, "Caml1999I010\204\225\246\276\0\0\v\242\0\0\2g\0\0\10\251"..., 4096) = 3087 close(4) = 0 stat64("pcre.cmi", 0xbffff79c) = -1 ENOENT (No such file or directory) stat64("Pcre.cmi", 0xbffff79c) = -1 ENOENT (No such file or directory) stat64("/play/godi/lib/ocaml/std-lib/pcre.cmi", 0xbffff79c) = -1 ENOENT (No such file or directory) stat64("/play/godi/lib/ocaml/std-lib/Pcre.cmi", 0xbffff79c) = -1 ENOENT (No such file or directory) stat64("pcre.cmi", 0xbffff79c) = -1 ENOENT (No such file or directory) stat64("Pcre.cmi", 0xbffff79c) = -1 ENOENT (No such file or directory) stat64("/play/godi/lib/ocaml/std-lib/pcre.cmi", 0xbffff79c) = -1 ENOENT (No such file or directory) stat64("/play/godi/lib/ocaml/std-lib/Pcre.cmi", 0xbffff79c) = -1 ENOENT (No such file or directory) stat64("pcre.cmi", 0xbffff79c) = -1 ENOENT (No such file or directory) stat64("Pcre.cmi", 0xbffff79c) = -1 ENOENT (No such file or directory) stat64("/play/godi/lib/ocaml/std-lib/pcre.cmi", 0xbffff79c) = -1 ENOENT (No such file or directory) stat64("/play/godi/lib/ocaml/std-lib/Pcre.cmi", 0xbffff79c) = -1 ENOENT (No such file or directory) old_mmap(NULL, 253952, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x40419000 stat64("netdb.cmi", {st_mode=S_IFREG|0664, st_size=389, ...}) = 0 open("netdb.cmi", O_RDONLY|O_LARGEFILE) = 4 fcntl64(4, F_SETFD, FD_CLOEXEC) = 0 brk(0x8081000) = 0x8081000 _llseek(4, 0, [0], SEEK_CUR) = 0 read(4, "Caml1999I010\204\225\246\276\0\0\1\31\0\0\0C\0\0\0\347"..., 4096) = 389 close(4) = 0 stat64("array.cmi", 0xbffff79c) = -1 ENOENT (No such file or directory) stat64("Array.cmi", 0xbffff79c) = -1 ENOENT (No such file or directory) stat64("/play/godi/lib/ocaml/std-lib/array.cmi", {st_mode=S_IFREG|0664, st_size=3258, ...}) = 0 open("/play/godi/lib/ocaml/std-lib/array.cmi", O_RDONLY|O_LARGEFILE) = 4 fcntl64(4, F_SETFD, FD_CLOEXEC) = 0 _llseek(4, 0, [0], SEEK_CUR) = 0 read(4, "Caml1999I010\204\225\246\276\0\0\fN\0\0\2s\0\0\10\351\0"..., 4096) = 3258 close(4) = 0 stat64("char.cmi", 0xbffff79c) = -1 ENOENT (No such file or directory) stat64("Char.cmi", 0xbffff79c) = -1 ENOENT (No such file or directory) stat64("/play/godi/lib/ocaml/std-lib/char.cmi", {st_mode=S_IFREG|0664, st_size=614, ...}) = 0 open("/play/godi/lib/ocaml/std-lib/char.cmi", O_RDONLY|O_LARGEFILE) = 4 fcntl64(4, F_SETFD, FD_CLOEXEC) = 0 _llseek(4, 0, [0], SEEK_CUR) = 0 read(4, "Caml1999I010\204\225\246\276\0\0\1\373\0\0\0}\0\0\1\255"..., 4096) = 614 old_mmap(NULL, 253952, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x40457000 close(4) = 0 stat64("netmappings.cmi", {st_mode=S_IFREG|0664, st_size=773, ...}) = 0 open("netmappings.cmi", O_RDONLY|O_LARGEFILE) = 4 fcntl64(4, F_SETFD, FD_CLOEXEC) = 0 brk(0x8083000) = 0x8083000 _llseek(4, 0, [0], SEEK_CUR) = 0 read(4, "Caml1999I010\204\225\246\276\0\0\2\223\0\0\0\240\0\0\2"..., 4096) = 773 close(4) = 0 old_mmap(NULL, 253952, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x40495000 stat64("lazy.cmi", 0xbffff79c) = -1 ENOENT (No such file or directory) stat64("Lazy.cmi", 0xbffff79c) = -1 ENOENT (No such file or directory) stat64("/play/godi/lib/ocaml/std-lib/lazy.cmi", {st_mode=S_IFREG|0664, st_size=525, ...}) = 0 open("/play/godi/lib/ocaml/std-lib/lazy.cmi", O_RDONLY|O_LARGEFILE) = 4 fcntl64(4, F_SETFD, FD_CLOEXEC) = 0 _llseek(4, 0, [0], SEEK_CUR) = 0 read(4, "Caml1999I010\204\225\246\276\0\0\1\242\0\0\0c\0\0\1X\0"..., 4096) = 525 close(4) = 0 old_mmap(NULL, 253952, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x404d3000 old_mmap(NULL, 253952, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x40511000 stat64("sys.cmi", 0xbffff79c) = -1 ENOENT (No such file or directory) stat64("Sys.cmi", 0xbffff79c) = -1 ENOENT (No such file or directory) stat64("/play/godi/lib/ocaml/std-lib/sys.cmi", {st_mode=S_IFREG|0664, st_size=2309, ...}) = 0 open("/play/godi/lib/ocaml/std-lib/sys.cmi", O_RDONLY|O_LARGEFILE) = 4 fcntl64(4, F_SETFD, FD_CLOEXEC) = 0 _llseek(4, 0, [0], SEEK_CUR) = 0 read(4, "Caml1999I010\204\225\246\276\0\0\10\233\0\0\1\365\0\0\6"..., 4096) = 2309 close(4) = 0 stat64("netbuffer.cmi", {st_mode=S_IFREG|0664, st_size=1502, ...}) = 0 open("netbuffer.cmi", O_RDONLY|O_LARGEFILE) = 4 fcntl64(4, F_SETFD, FD_CLOEXEC) = 0 _llseek(4, 0, [0], SEEK_CUR) = 0 read(4, "Caml1999I010\204\225\246\276\0\0\5n\0\0\0012\0\0\4D\0\0"..., 4096) = 1502 close(4) = 0 stat64("netchannels.cmi", {st_mode=S_IFREG|0664, st_size=80637, ...}) = 0 open("netchannels.cmi", O_RDONLY|O_LARGEFILE) = 4 fcntl64(4, F_SETFD, FD_CLOEXEC) = 0 _llseek(4, 0, [0], SEEK_CUR) = 0 read(4, "Caml1999I010\204\225\246\276\0\1:\"\0\0008\37\0\0\317Q"..., 4096) = 4096 brk(0x8097000) = 0x8097000 read(4, "\330\260\262\5\2\317@\220@\2\5\365\341\0\1\376\335\260"..., 4096) = 4096 read(4, "\356\260\262\5\5\236@\220@\2\5\365\341\0\1\375\357@\2\5"..., 4096) = 4096 read(4, "\2\5\365\341\0\1\374\307@\2\5\365\341\0\1\374\310\260\304"..., 4096) = 4096 read(4, "5\260A\2\5\365\341\0\1\3746\2\5\365\341\0\1\3747\2\5\365"..., 4096) = 4096 read(4, "\373\16\2\5\365\341\0\1\373\17\2\5\365\341\0\1\373\20\2"..., 4096) = 4096 read(4, "\365\341\0\1\371\326@\2\5\365\341\0\1\371\327\260\304\5"..., 4096) = 4096 read(4, "\260\304\5\23\322@\260\250\260\262\5\23\364@\220@\2\5\365"..., 4096) = 4096 read(4, "\5@A\240\261\260\1\1\26/#output_channel@\320@@@\220\260"..., 4096) = 4096 read(4, "\366\362\2\5\365\341\0\1\366\347\2\5\365\341\0\1\366\350"..., 4096) = 4096 read(4, "\365\341\0\1\365\273@\2\5\365\341\0\1\365\274@\2\5\365"..., 4096) = 4096 read(4, "\262\5\37@\220@\2\5\365\341\0\1\364\234\260\262\5\37N"..., 4096) = 4096
read(4, "e_in@\260\250\260\300\5"7\260\262\5"\31@\220@\2\5\365"..., 4096) = 4096
read(4, "\2\5\365\341\0\1\362v\260\304\5\37D@\260\250\260\300\5"..., 4096) = 4096
read(4, "\361\236\260@\2\5\365\341\0\1\361\243\2\5\365\341\0\1\361"..., 4096) = 4096
read(4, "~\260\262\5
\245@\220@\2\5\365\341\0\1\360\177@\2\5\365"..., 4096) = 4096
read(4, "\341\0\1\357\321\220\220\240\5\1\235\240\4\5@\2\5\365\341"..., 4096) = 4096
read(4, "\365\341\0\1\356\317@A\240\265\260\1\1Q$pipe@\300@\262"..., 4096) = 4096
read(4, "\365\341\0\1\355?\260\300\0053R\260\262\5.\343@\220@\2"..., 4096) = 4096
read(4, "\1\354\203\260\304\0055|@\260\250\260\300\0056.\260\262"..., 4096) = 2813
old_mmap(NULL, 253952, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x4054f000
brk(0x80a6000) = 0x80a6000
brk(0x8083000) = 0x8083000
close(4) = 0
old_mmap(NULL, 253952, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x4058d000
old_mmap(NULL, 253952, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x405cb000
old_mmap(NULL, 253952, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x40609000
stat64("netconversion.mli", {st_mode=S_IFREG|0644, st_size=29517, ...}) = 0
stat64("netconversion.cmi", {st_mode=S_IFREG|0664, st_size=18999, ...}) = 0
open("netconversion.cmi", O_RDONLY|O_LARGEFILE) = 4
fcntl64(4, F_SETFD, FD_CLOEXEC) = 0
_llseek(4, 0, [0], SEEK_CUR) = 0
read(4, "Caml1999I010\204\225\246\276\0\0I;\0\0\rZ\0\0000\321\0"..., 4096) = 4096
brk(0x8088000) = 0x8088000
read(4, "\5\0021\260\262\5\3\4@\220@\2\5\365\341\0\0\226\260\262"..., 4096) = 4096
read(4, "\341\0\1\377\6\2\5\365\341\0\1\377\7\2\5\365\341\0\1\377"..., 4096) = 4096
read(4, "\262\5\5e@\220@\2\5\365\341\0\1\375Q\260\262\5\5h@\220"..., 4096) = 4096
read(4, "\2\5\365\341\0\1\374\235@\220@\2\5\365\341\0\1\374\236"..., 4096) = 2615
brk(0x808c000) = 0x808c000
close(4) = 0
old_mmap(NULL, 253952, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x40647000
old_mmap(NULL, 253952, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x40685000
old_mmap(NULL, 253952, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x406c3000
old_mmap(NULL, 253952, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x40701000
old_mmap(NULL, 253952, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x4073f000
brk(0x8099000) = 0x8099000
brk(0x80b2000) = 0x80b2000
old_mmap(NULL, 200704, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x4077d000
brk(0x8087000) = 0x8087000
mremap(0x4077d000, 200704, 397312, MREMAP_MAYMOVE) = 0x4077d000
mremap(0x4077d000, 397312, 790528, MREMAP_MAYMOVE) = 0x4077d000
mremap(0x4077d000, 790528, 1576960, MREMAP_MAYMOVE) = 0x4077d000
mremap(0x4077d000, 1576960, 3149824, MREMAP_MAYMOVE) = 0x4077d000
mremap(0x4077d000, 3149824, 6295552, MREMAP_MAYMOVE) = 0x4077d000
munmap(0x4077d000, 6295552) = 0
close(3) = 0
unlink("netconversion.cmo") = 0
write(2, "Fatal error: exception Out_of_me"..., 37Fatal error: exception Out_of_memory
) = 37
_exit(2) = ?


Opening bytecode executable /play/godi/bin/ocamlrun
Not a bytecode executable
Opening bytecode executable /play/godi/bin/ocamlc
Initial minor heap size: 128k bytes
Initial major heap size: 240k bytes
Initial space overhead: 80%
Initial max overhead: 500%
Initial heap increment: 240k bytes
Initial stack limit: 1024k bytes
<>Starting new major GC cycle
allocated_words = 39685
extra_heap_resources = 1000u
amount of work to do = 2179962u
ordered work = 0 words
computed work = 148818 words
Marking 148818 words
!Calling finalisation functions.
Done calling finalisation functions.
<Growing heap to 480k bytes
Growing page table to 326 entries

allocated_words = 31848
extra_heap_resources = 3000u
amount of work to do = 874731u
ordered work = 0 words
computed work = 214974 words
Sweeping 214974 words
$<>Starting new major GC cycle
allocated_words = 7937
extra_heap_resources = 2000u
amount of work to do = 217996u
ordered work = 0 words
computed work = 29762 words
Marking 29762 words
!<>allocated_words = 7301
extra_heap_resources = 0u
amount of work to do = 200527u
ordered work = 0 words
computed work = 27378 words
Marking 27378 words
Growing gray_vals to 16k bytes
!<>allocated_words = 9294
extra_heap_resources = 0u
amount of work to do = 255267u
ordered work = 0 words
computed work = 34852 words
Marking 34852 words
!Calling finalisation functions.
Done calling finalisation functions.
<>allocated_words = 8124
extra_heap_resources = 0u
amount of work to do = 223132u
ordered work = 0 words
computed work = 54836 words
Sweeping 54836 words
$<>allocated_words = 9724
extra_heap_resources = 0u
amount of work to do = 267077u
ordered work = 0 words
computed work = 65636 words
Sweeping 65636 words
$<>allocated_words = 5520
extra_heap_resources = 0u
amount of work to do = 151611u
ordered work = 0 words
computed work = 37260 words
Sweeping 37260 words
$<Growing heap to 720k bytes
Growing page table to 388 entries
Starting new major GC cycle
allocated_words = 14473
extra_heap_resources = 0u
amount of work to do = 265008u
ordered work = 0 words
computed work = 54272 words
Marking 54272 words
!<>allocated_words = 11516
extra_heap_resources = 0u
amount of work to do = 210864u
ordered work = 0 words
computed work = 43184 words
Marking 43184 words
!<>allocated_words = 12767
extra_heap_resources = 0u
amount of work to do = 233770u
ordered work = 0 words
computed work = 47876 words
Marking 47876 words
!Calling finalisation functions.
Done calling finalisation functions.
<>allocated_words = 13024
extra_heap_resources = 0u
amount of work to do = 238476u
ordered work = 0 words
computed work = 87910 words
Sweeping 87910 words
$<>allocated_words = 10410
extra_heap_resources = 0u
amount of work to do = 190612u
ordered work = 0 words
computed work = 70266 words
Sweeping 70266 words
$<Growing heap to 960k bytes
Growing page table to 450 entries
allocated_words = 9339
extra_heap_resources = 0u
amount of work to do = 128251u
ordered work = 0 words
computed work = 63038 words
Sweeping 63038 words
$<>allocated_words = 11003
extra_heap_resources = 0u
amount of work to do = 151103u
ordered work = 0 words
computed work = 74270 words
Sweeping 74270 words
$<>Starting new major GC cycle
allocated_words = 10973
extra_heap_resources = 0u
amount of work to do = 150691u
ordered work = 0 words
computed work = 41148 words
Marking 41148 words
!<>allocated_words = 12048
extra_heap_resources = 0u
amount of work to do = 165454u
ordered work = 0 words
computed work = 45180 words
Marking 45180 words
!<>allocated_words = 12913
extra_heap_resources = 0u
amount of work to do = 177333u
ordered work = 0 words
computed work = 48422 words
Marking 48422 words
!<Growing heap to 1200k bytes
Growing page table to 512 entries
allocated_words = 10646
extra_heap_resources = 0u
amount of work to do = 116960u
ordered work = 0 words
computed work = 39922 words
Marking 39922 words
!<>allocated_words = 13015
extra_heap_resources = 0u
amount of work to do = 142987u
ordered work = 0 words
computed work = 48806 words
Marking 48806 words
!Calling finalisation functions.
Done calling finalisation functions.
<>allocated_words = 9699
extra_heap_resources = 0u
amount of work to do = 106556u
ordered work = 0 words
computed work = 65468 words
Sweeping 65468 words
$<>allocated_words = 7242
extra_heap_resources = 0u
amount of work to do = 79562u
ordered work = 0 words
computed work = 48882 words
Sweeping 48882 words
$<>allocated_words = 9455
extra_heap_resources = 0u
amount of work to do = 103875u
ordered work = 0 words
computed work = 63820 words
Sweeping 63820 words
$<>allocated_words = 9333
extra_heap_resources = 0u
amount of work to do = 102535u
ordered work = 0 words
computed work = 62996 words
Sweeping 62996 words
$<>allocated_words = 9541
extra_heap_resources = 0u
amount of work to do = 104820u
ordered work = 0 words
computed work = 64400 words
Sweeping 64400 words
$<Growing heap to 1440k bytes
Growing page table to 574 entries
allocated_words = 11061
extra_heap_resources = 0u
amount of work to do = 101266u
ordered work = 0 words
computed work = 74660 words
Sweeping 74660 words
$<>Starting new major GC cycle
allocated_words = 3072
extra_heap_resources = 0u
amount of work to do = 28125u
ordered work = 0 words
computed work = 11520 words
Marking 11520 words
!<>allocated_words = 2143
extra_heap_resources = 0u
amount of work to do = 19619u
ordered work = 0 words
computed work = 8036 words
Marking 8036 words
!<>allocated_words = 8461
extra_heap_resources = 1000u
amount of work to do = 77462u
ordered work = 0 words
computed work = 31728 words
Marking 31728 words
!<>allocated_words = 14334
extra_heap_resources = 2000u
amount of work to do = 131231u
ordered work = 0 words
computed work = 53752 words
Marking 53752 words
!<>allocated_words = 5619
extra_heap_resources = 0u
amount of work to do = 51443u
ordered work = 0 words
computed work = 21070 words
Marking 21070 words
!<>allocated_words = 3976
extra_heap_resources = 0u
amount of work to do = 36401u
ordered work = 0 words
computed work = 14908 words
Marking 14908 words
!<>allocated_words = 3267
extra_heap_resources = 0u
amount of work to do = 29910u
ordered work = 0 words
computed work = 12250 words
Marking 12250 words
!<>allocated_words = 2879
extra_heap_resources = 0u
amount of work to do = 26358u
ordered work = 0 words
computed work = 10796 words
Marking 10796 words
!<>allocated_words = 5088
extra_heap_resources = 0u
amount of work to do = 46582u
ordered work = 0 words
computed work = 19080 words
Marking 19080 words
!<>allocated_words = 4599
extra_heap_resources = 0u
amount of work to do = 42105u
ordered work = 0 words
computed work = 17246 words
Marking 17246 words
!<Growing heap to 1680k bytes
Growing page table to 636 entries
allocated_words = 4259
extra_heap_resources = 0u
amount of work to do = 33421u
ordered work = 0 words
computed work = 15970 words
Marking 15970 words
!<>allocated_words = 2604
extra_heap_resources = 0u
amount of work to do = 20434u
ordered work = 0 words
computed work = 9764 words
Marking 9764 words
!<>allocated_words = 1414
extra_heap_resources = 0u
amount of work to do = 11096u
ordered work = 0 words
computed work = 5302 words
Marking 5302 words
!<>allocated_words = 1065
extra_heap_resources = 0u
amount of work to do = 8357u
ordered work = 0 words
computed work = 3992 words
Marking 3992 words
!<>allocated_words = 1006
extra_heap_resources = 0u
amount of work to do = 7894u
ordered work = 0 words
computed work = 3772 words
Marking 3772 words
!<>allocated_words = 1119
extra_heap_resources = 0u
amount of work to do = 8781u
ordered work = 0 words
computed work = 4196 words
Marking 4196 words
!<>allocated_words = 1307
extra_heap_resources = 0u
amount of work to do = 10256u
ordered work = 0 words
computed work = 4900 words
Marking 4900 words
!<>allocated_words = 4627
extra_heap_resources = 0u
amount of work to do = 36309u
ordered work = 0 words
computed work = 17350 words
Marking 17350 words
!<>allocated_words = 4231
extra_heap_resources = 0u
amount of work to do = 33202u
ordered work = 0 words
computed work = 15866 words
Marking 15866 words
!<>allocated_words = 3775
extra_heap_resources = 0u
amount of work to do = 29623u
ordered work = 0 words
computed work = 14156 words
Marking 14156 words
!<>allocated_words = 1951
extra_heap_resources = 0u
amount of work to do = 15310u
ordered work = 0 words
computed work = 7316 words
Marking 7316 words
!<>allocated_words = 721
extra_heap_resources = 0u
amount of work to do = 5657u
ordered work = 0 words
computed work = 2702 words
Marking 2702 words
!<>allocated_words = 974
extra_heap_resources = 0u
amount of work to do = 7643u
ordered work = 0 words
computed work = 3652 words
Marking 3652 words
!<>allocated_words = 1024
extra_heap_resources = 0u
amount of work to do = 8035u
ordered work = 0 words
computed work = 3840 words
Marking 3840 words
!Calling finalisation functions.
Done calling finalisation functions.
<>allocated_words = 1143
extra_heap_resources = 0u
amount of work to do = 8969u
ordered work = 0 words
computed work = 7714 words
Sweeping 7714 words
$<>allocated_words = 1536
extra_heap_resources = 0u
amount of work to do = 12053u
ordered work = 0 words
computed work = 10368 words
Sweeping 10368 words
$<>allocated_words = 1906
extra_heap_resources = 0u
amount of work to do = 14957u
ordered work = 0 words
computed work = 12864 words
Sweeping 12864 words
$<>allocated_words = 2571
extra_heap_resources = 0u
amount of work to do = 20175u
ordered work = 0 words
computed work = 17354 words
Sweeping 17354 words
$<>allocated_words = 1738
extra_heap_resources = 0u
amount of work to do = 13638u
ordered work = 0 words
computed work = 11730 words
Sweeping 11730 words
$<>allocated_words = 1609
extra_heap_resources = 0u
amount of work to do = 12626u
ordered work = 0 words
computed work = 10860 words
Sweeping 10860 words
$<>allocated_words = 4681
extra_heap_resources = 0u
amount of work to do = 36733u
ordered work = 0 words
computed work = 31596 words
Sweeping 31596 words
$<>allocated_words = 9885
extra_heap_resources = 1000u
amount of work to do = 77571u
ordered work = 0 words
computed work = 66722 words
Sweeping 66722 words
$<>allocated_words = 8192
extra_heap_resources = 1000u
amount of work to do = 64285u
ordered work = 0 words
computed work = 55296 words
Sweeping 55296 words
$Growing heap to 1920k bytes
Growing page table to 698 entries
<>allocated_words = 9736
extra_heap_resources = 2000u
amount of work to do = 66851u
ordered work = 0 words
computed work = 65716 words
Sweeping 65716 words
$<>allocated_words = 7480
extra_heap_resources = 0u
amount of work to do = 51361u
ordered work = 0 words
computed work = 50490 words
Sweeping 50490 words
$<>allocated_words = 1500
extra_heap_resources = 0u
amount of work to do = 10299u
ordered work = 0 words
computed work = 10124 words
Sweeping 10124 words
$<>allocated_words = 1819
extra_heap_resources = 0u
amount of work to do = 12490u
ordered work = 0 words
computed work = 12278 words
Sweeping 12278 words
$<>allocated_words = 1494
extra_heap_resources = 0u
amount of work to do = 10258u
ordered work = 0 words
computed work = 10084 words
Sweeping 10084 words
$<>allocated_words = 2000
extra_heap_resources = 0u
amount of work to do = 13732u
ordered work = 0 words
computed work = 13500 words
Sweeping 13500 words
$<>allocated_words = 3030
extra_heap_resources = 0u
amount of work to do = 20805u
ordered work = 0 words
computed work = 20452 words
Sweeping 20452 words
$<>allocated_words = 3967
extra_heap_resources = 0u
amount of work to do = 27239u
ordered work = 0 words
computed work = 26776 words
Sweeping 26776 words
$<>allocated_words = 998
extra_heap_resources = 0u
amount of work to do = 6852u
ordered work = 0 words
computed work = 6736 words
Sweeping 6736 words
$<>allocated_words = 2321
extra_heap_resources = 0u
amount of work to do = 15937u
ordered work = 0 words
computed work = 15666 words
Sweeping 15666 words
$<>allocated_words = 3902
extra_heap_resources = 0u
amount of work to do = 26792u
ordered work = 0 words
computed work = 26338 words
Sweeping 26338 words
$<>Starting new major GC cycle
allocated_words = 8516
extra_heap_resources = 0u
amount of work to do = 58474u
ordered work = 0 words
computed work = 31934 words
Marking 31934 words
!<>allocated_words = 8185
extra_heap_resources = 0u
amount of work to do = 56201u
ordered work = 0 words
computed work = 30692 words
Marking 30692 words
!<>allocated_words = 9476
extra_heap_resources = 0u
amount of work to do = 65066u
ordered work = 0 words
computed work = 35534 words
Marking 35534 words
!<Growing heap to 2160k bytes
Growing page table to 760 entries
allocated_words = 6464
extra_heap_resources = 0u
amount of work to do = 39453u
ordered work = 0 words
computed work = 24238 words
Marking 24238 words
!<>allocated_words = 5097
extra_heap_resources = 0u
amount of work to do = 31109u
ordered work = 0 words
computed work = 19112 words
Marking 19112 words
!<>allocated_words = 1242
extra_heap_resources = 0u
amount of work to do = 7580u
ordered work = 0 words
computed work = 4656 words
Marking 4656 words
!<>allocated_words = 1648
extra_heap_resources = 0u
amount of work to do = 10058u
ordered work = 0 words
computed work = 6180 words
Marking 6180 words
!<>allocated_words = 2685
extra_heap_resources = 0u
amount of work to do = 16387u
ordered work = 0 words
computed work = 10068 words
Marking 10068 words
!<>allocated_words = 2395
extra_heap_resources = 0u
amount of work to do = 14617u
ordered work = 0 words
computed work = 8980 words
Marking 8980 words
!<>allocated_words = 2837
extra_heap_resources = 0u
amount of work to do = 17315u
ordered work = 0 words
computed work = 10638 words
Marking 10638 words
!<>allocated_words = 3654
extra_heap_resources = 0u
amount of work to do = 22302u
ordered work = 0 words
computed work = 13702 words
Marking 13702 words
!<>allocated_words = 1941
extra_heap_resources = 0u
amount of work to do = 11846u
ordered work = 0 words
computed work = 7278 words
Marking 7278 words
!<>allocated_words = 2298
extra_heap_resources = 0u
amount of work to do = 14025u
ordered work = 0 words
computed work = 8616 words
Marking 8616 words
!<>allocated_words = 6534
extra_heap_resources = 0u
amount of work to do = 39880u
ordered work = 0 words
computed work = 24502 words
Marking 24502 words
!<>allocated_words = 9000
extra_heap_resources = 1000u
amount of work to do = 54931u
ordered work = 0 words
computed work = 33750 words
Marking 33750 words
!<>allocated_words = 9310
extra_heap_resources = 0u
amount of work to do = 56823u
ordered work = 0 words
computed work = 34912 words
Marking 34912 words
!<Growing heap to 2400k bytes
Growing page table to 822 entries
allocated_words = 8223
extra_heap_resources = 0u
amount of work to do = 45170u
ordered work = 0 words
computed work = 30836 words
Marking 30836 words
!<>allocated_words = 9065
extra_heap_resources = 0u
amount of work to do = 49795u
ordered work = 0 words
computed work = 33992 words
Marking 33992 words
!<>allocated_words = 8346
extra_heap_resources = 0u
amount of work to do = 45845u
ordered work = 0 words
computed work = 31296 words
Marking 31296 words
!<>allocated_words = 9360
extra_heap_resources = 0u
amount of work to do = 51416u
ordered work = 0 words
computed work = 35098 words
Marking 35098 words
!Calling finalisation functions.
Done calling finalisation functions.
<>allocated_words = 9389
extra_heap_resources = 0u
amount of work to do = 51575u
ordered work = 0 words
computed work = 63374 words
Sweeping 63374 words
$<>allocated_words = 8453
extra_heap_resources = 0u
amount of work to do = 46433u
ordered work = 0 words
computed work = 57056 words
Sweeping 57056 words
$<>allocated_words = 9204
extra_heap_resources = 0u
amount of work to do = 50559u
ordered work = 0 words
computed work = 62126 words
Sweeping 62126 words
$<Growing heap to 2640k bytes
Growing page table to 884 entries
allocated_words = 10146
extra_heap_resources = 0u
amount of work to do = 50666u
ordered work = 0 words
computed work = 68484 words
Sweeping 68484 words
$<>allocated_words = 8402
extra_heap_resources = 0u
amount of work to do = 41957u
ordered work = 0 words
computed work = 56712 words
Sweeping 56712 words
$<>allocated_words = 7993
extra_heap_resources = 0u
amount of work to do = 39915u
ordered work = 0 words
computed work = 53952 words
Sweeping 53952 words
$<>allocated_words = 6890
extra_heap_resources = 0u
amount of work to do = 34407u
ordered work = 0 words
computed work = 46506 words
Sweeping 46506 words
$<>allocated_words = 3723
extra_heap_resources = 0u
amount of work to do = 18591u
ordered work = 0 words
computed work = 25130 words
Sweeping 25130 words
$<>allocated_words = 4130
extra_heap_resources = 0u
amount of work to do = 20624u
ordered work = 0 words
computed work = 27876 words
Sweeping 27876 words
$<>allocated_words = 8670
extra_heap_resources = 0u
amount of work to do = 43296u
ordered work = 0 words
computed work = 58522 words
Sweeping 58522 words
$<>allocated_words = 7238
extra_heap_resources = 0u
amount of work to do = 36145u
ordered work = 0 words
computed work = 48856 words
Sweeping 48856 words
$<>allocated_words = 7412
extra_heap_resources = 0u
amount of work to do = 37013u
ordered work = 0 words
computed work = 50030 words
Sweeping 50030 words
$<>allocated_words = 10503
extra_heap_resources = 1000u
amount of work to do = 52449u
ordered work = 0 words
computed work = 70894 words
Sweeping 70894 words
$Growing heap to 2880k bytes
Growing page table to 946 entries
<>Starting new major GC cycle
allocated_words = 62081
extra_heap_resources = 2000u
amount of work to do = 284184u
ordered work = 0 words
computed work = 232802 words
Marking 232802 words
!<>allocated_words = 13468
extra_heap_resources = 0u
amount of work to do = 61651u
ordered work = 0 words
computed work = 50504 words
Marking 50504 words
!<Growing heap to 3120k bytes
Growing page table to 1008 entries
allocated_words = 14054
extra_heap_resources = 0u
amount of work to do = 59385u
ordered work = 0 words
computed work = 52702 words
Marking 52702 words
!<>allocated_words = 14232
extra_heap_resources = 0u
amount of work to do = 60137u
ordered work = 0 words
computed work = 53368 words
Marking 53368 words
!<>allocated_words = 14141
extra_heap_resources = 0u
amount of work to do = 59752u
ordered work = 0 words
computed work = 53028 words
Marking 53028 words
!<>allocated_words = 12784
extra_heap_resources = 0u
amount of work to do = 54018u
ordered work = 0 words
computed work = 47940 words
Marking 47940 words
!<>allocated_words = 6553
extra_heap_resources = 0u
amount of work to do = 27689u
ordered work = 0 words
computed work = 24572 words
Marking 24572 words
!<>allocated_words = 5017
extra_heap_resources = 0u
amount of work to do = 21199u
ordered work = 0 words
computed work = 18812 words
Marking 18812 words
!<Growing heap to 3360k bytes
Growing page table to 1070 entries
allocated_words = 9943
extra_heap_resources = 0u
amount of work to do = 39013u
ordered work = 0 words
computed work = 37286 words
Marking 37286 words
!<>allocated_words = 10004
extra_heap_resources = 0u
amount of work to do = 39252u
ordered work = 0 words
computed work = 37514 words
Marking 37514 words
!<>allocated_words = 8892
extra_heap_resources = 0u
amount of work to do = 34889u
ordered work = 0 words
computed work = 33344 words
Marking 33344 words
!<>allocated_words = 9656
extra_heap_resources = 0u
amount of work to do = 37887u
ordered work = 0 words
computed work = 36208 words
Marking 36208 words
!<>allocated_words = 6954
extra_heap_resources = 0u
amount of work to do = 27285u
ordered work = 0 words
computed work = 26076 words
Marking 26076 words
!Calling finalisation functions.
Done calling finalisation functions.
<>allocated_words = 8394
extra_heap_resources = 0u
amount of work to do = 32935u
ordered work = 0 words
computed work = 56658 words
Sweeping 56658 words
$<>allocated_words = 8881
extra_heap_resources = 0u
amount of work to do = 34846u
ordered work = 0 words
computed work = 59946 words
Sweeping 59946 words
$<Growing heap to 3600k bytes
Growing page table to 1132 entries
allocated_words = 8068
extra_heap_resources = 0u
amount of work to do = 29545u
ordered work = 0 words
computed work = 54458 words
Sweeping 54458 words
$<>allocated_words = 3936
extra_heap_resources = 0u
amount of work to do = 14414u
ordered work = 0 words
computed work = 26566 words
Sweeping 26566 words
$<>allocated_words = 1314
extra_heap_resources = 0u
amount of work to do = 4812u
ordered work = 0 words
computed work = 8868 words
Sweeping 8868 words
$<>allocated_words = 1425
extra_heap_resources = 0u
amount of work to do = 5218u
ordered work = 0 words
computed work = 9618 words
Sweeping 9618 words
$<>allocated_words = 1629
extra_heap_resources = 0u
amount of work to do = 5965u
ordered work = 0 words
computed work = 10994 words
Sweeping 10994 words
$<>allocated_words = 1124
extra_heap_resources = 0u
amount of work to do = 4116u
ordered work = 0 words
computed work = 7586 words
Sweeping 7586 words
$<>allocated_words = 1245
extra_heap_resources = 0u
amount of work to do = 4559u
ordered work = 0 words
computed work = 8402 words
Sweeping 8402 words
$<>allocated_words = 1578
extra_heap_resources = 0u
amount of work to do = 5778u
ordered work = 0 words
computed work = 10650 words
Sweeping 10650 words
$<>allocated_words = 0
extra_heap_resources = 0u
amount of work to do = 0u
ordered work = 0 words
computed work = 0 words
Sweeping 0 words
$<>allocated_words = 17541
extra_heap_resources = 1000u
amount of work to do = 64237u
ordered work = 0 words
computed work = 118400 words
Sweeping 118400 words
$<>allocated_words = 1336
extra_heap_resources = 0u
amount of work to do = 4892u
ordered work = 0 words
computed work = 9016 words
Sweeping 9016 words
$<>allocated_words = 517
extra_heap_resources = 0u
amount of work to do = 1893u
ordered work = 0 words
computed work = 3488 words
Sweeping 3488 words
$<>allocated_words = 4274
extra_heap_resources = 0u
amount of work to do = 15651u
ordered work = 0 words
computed work = 28848 words
Sweeping 28848 words
$<>allocated_words = 4824
extra_heap_resources = 0u
amount of work to do = 17666u
ordered work = 0 words
computed work = 32560 words
Sweeping 32560 words
$<>allocated_words = 6017
extra_heap_resources = 0u
amount of work to do = 22034u
ordered work = 0 words
computed work = 40614 words
Sweeping 40614 words
$<>allocated_words = 4995
extra_heap_resources = 0u
amount of work to do = 18292u
ordered work = 0 words
computed work = 33716 words
Sweeping 33716 words
$<>allocated_words = 3209
extra_heap_resources = 0u
amount of work to do = 11751u
ordered work = 0 words
computed work = 21660 words
Sweeping 21660 words
$<>allocated_words = 2691
extra_heap_resources = 0u
amount of work to do = 9854u
ordered work = 0 words
computed work = 18164 words
Sweeping 18164 words
$<>allocated_words = 3109
extra_heap_resources = 0u
amount of work to do = 11385u
ordered work = 0 words
computed work = 20984 words
Sweeping 20984 words
$<>allocated_words = 5625
extra_heap_resources = 0u
amount of work to do = 20599u
ordered work = 0 words
computed work = 37968 words
Sweeping 37968 words
$<>allocated_words = 3481
extra_heap_resources = 0u
amount of work to do = 12747u
ordered work = 0 words
computed work = 23496 words
Sweeping 23496 words
$<>allocated_words = 4408
extra_heap_resources = 0u
amount of work to do = 16142u
ordered work = 0 words
computed work = 29754 words
Sweeping 29754 words
$<>allocated_words = 6300
extra_heap_resources = 0u
amount of work to do = 23071u
ordered work = 0 words
computed work = 42524 words
Sweeping 42524 words
$<>allocated_words = 5574
extra_heap_resources = 0u
amount of work to do = 20412u
ordered work = 0 words
computed work = 37624 words
Sweeping 37624 words
$<Growing heap to 3840k bytes
Growing page table to 1194 entries
allocated_words = 8791
extra_heap_resources = 0u
amount of work to do = 30181u
ordered work = 0 words
computed work = 59338 words
Sweeping 59338 words
$Growing stack to 32k bytes
<>allocated_words = 3727
extra_heap_resources = 0u
amount of work to do = 12795u
ordered work = 0 words
computed work = 25156 words
Sweeping 25156 words
$<>allocated_words = 4643
extra_heap_resources = 0u
amount of work to do = 15940u
ordered work = 0 words
computed work = 31340 words
Sweeping 31340 words
$<>allocated_words = 10183
extra_heap_resources = 0u
amount of work to do = 34960u
ordered work = 0 words
computed work = 68734 words
Sweeping 68734 words
$<>allocated_words = 4113
extra_heap_resources = 0u
amount of work to do = 14120u
ordered work = 0 words
computed work = 27762 words
Sweeping 27762 words
$<>Starting new major GC cycle
allocated_words = 1958
extra_heap_resources = 0u
amount of work to do = 6722u
ordered work = 0 words
computed work = 7342 words
Marking 7342 words
!<>allocated_words = 5834
extra_heap_resources = 0u
amount of work to do = 20029u
ordered work = 0 words
computed work = 21876 words
Marking 21876 words
!<>allocated_words = 2799
extra_heap_resources = 0u
amount of work to do = 9609u
ordered work = 0 words
computed work = 10496 words
Marking 10496 words
!<>allocated_words = 2413
extra_heap_resources = 0u
amount of work to do = 8284u
ordered work = 0 words
computed work = 9048 words
Marking 9048 words
!<>allocated_words = 1286
extra_heap_resources = 0u
amount of work to do = 4415u
ordered work = 0 words
computed work = 4822 words
Marking 4822 words
!<>allocated_words = 1068
extra_heap_resources = 0u
amount of work to do = 3666u
ordered work = 0 words
computed work = 4004 words
Marking 4004 words
!<>allocated_words = 1858
extra_heap_resources = 0u
amount of work to do = 6378u
ordered work = 0 words
computed work = 6966 words
Marking 6966 words
!<>allocated_words = 2777
extra_heap_resources = 0u
amount of work to do = 9534u
ordered work = 0 words
computed work = 10412 words
Marking 10412 words
!<>allocated_words = 1989
extra_heap_resources = 0u
amount of work to do = 6828u
ordered work = 0 words
computed work = 7458 words
Marking 7458 words
!<>allocated_words = 709
extra_heap_resources = 0u
amount of work to do = 2434u
ordered work = 0 words
computed work = 2658 words
Marking 2658 words
!<>allocated_words = 2256
extra_heap_resources = 0u
amount of work to do = 7745u
ordered work = 0 words
computed work = 8460 words
Marking 8460 words
!<>allocated_words = 2785
extra_heap_resources = 0u
amount of work to do = 9561u
ordered work = 0 words
computed work = 10442 words
Marking 10442 words
!<Growing heap to 4080k bytes
Growing page table to 1256 entries
allocated_words = 5796
extra_heap_resources = 0u
amount of work to do = 18728u
ordered work = 0 words
computed work = 21734 words
Marking 21734 words
!<>allocated_words = 6556
extra_heap_resources = 0u
amount of work to do = 21184u
ordered work = 0 words
computed work = 24584 words
Marking 24584 words
!<>allocated_words = 10199
extra_heap_resources = 0u
amount of work to do = 32955u
ordered work = 0 words
computed work = 38246 words
Marking 38246 words
!<>allocated_words = 31128
extra_heap_resources = 0u
amount of work to do = 100583u
ordered work = 0 words
computed work = 116730 words
Marking 116730 words
!<Growing heap to 4320k bytes
Growing page table to 1318 entries
allocated_words = 29152
extra_heap_resources = 0u
amount of work to do = 88964u
ordered work = 0 words
computed work = 109318 words
Marking 109318 words
!<>allocated_words = 18863
extra_heap_resources = 0u
amount of work to do = 57565u
ordered work = 0 words
computed work = 70736 words
Marking 70736 words
!<>allocated_words = 1808
extra_heap_resources = 0u
amount of work to do = 5517u
ordered work = 0 words
computed work = 6780 words
Marking 6780 words
!<>allocated_words = 15745
extra_heap_resources = 0u
amount of work to do = 48049u
ordered work = 0 words
computed work = 59042 words
Marking 59042 words
!<Growing heap to 4560k bytes
Growing page table to 1380 entries
allocated_words = 18688
extra_heap_resources = 0u
amount of work to do = 54029u
ordered work = 0 words
computed work = 70080 words
Marking 70080 words
!<>allocated_words = 20388
extra_heap_resources = 0u
amount of work to do = 58944u
ordered work = 0 words
computed work = 76454 words
Marking 76454 words
!<>allocated_words = 14892
extra_heap_resources = 0u
amount of work to do = 43054u
ordered work = 0 words
computed work = 55844 words
Marking 55844 words
!<Growing heap to 4800k bytes
Growing page table to 1442 entries
allocated_words = 19344
extra_heap_resources = 0u
amount of work to do = 53129u
ordered work = 0 words
computed work = 72538 words
Marking 72538 words
!Calling finalisation functions.
Done calling finalisation functions.
Fatal error: exception Out_of_memory



@vicuna
Copy link
Author

vicuna commented Jul 7, 2004

Comment author: administrator

Dear Gerd,

this time I have a real problem of the release308 branch: ocamlc stops
with "Out of Memory" when compiling one of the ocamlnet source files.
Apparently, this is not true, as the mremap syscall always succeeds, so
the error seems to be produced by the ocaml runtime system itself.

Actually, this "Out_of_memory" comes from the structural comparison
predicate (=), which stops when its recursion stack becomes too large
even before exhausting all memory.

The stack overflow in (=) is caused by attempts to compare cyclic data
structures, and you've just found a case where the OCaml compiler
wrongly compares possibly cyclic structures using the generic
structural equality. Thanks :-)

This will be fixed shortly in the CVS.

Best wishes,

  • Xavier Leroy

@vicuna
Copy link
Author

vicuna commented Jul 7, 2004

Comment author: administrator

Fixed 2004-07-07 by XL

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant