{"action":"opened","issue":{"url":"https://api.github.com/repos/janestreet/jbuilder/issues/341","repository_url":"https://api.github.com/repos/janestreet/jbuilder","labels_url":"https://api.github.com/repos/janestreet/jbuilder/issues/341/labels{/name}","comments_url":"https://api.github.com/repos/janestreet/jbuilder/issues/341/comments","events_url":"https://api.github.com/repos/janestreet/jbuilder/issues/341/events","html_url":"https://github.com/janestreet/jbuilder/issues/341","id":276859328,"number":341,"title":"Build fails on ocaml-4.05.0+spacetime","user":{"login":"Gbury","id":1477907,"avatar_url":"https://avatars2.githubusercontent.com/u/1477907?v=4","gravatar_id":"","url":"https://api.github.com/users/Gbury","html_url":"https://github.com/Gbury","followers_url":"https://api.github.com/users/Gbury/followers","following_url":"https://api.github.com/users/Gbury/following{/other_user}","gists_url":"https://api.github.com/users/Gbury/gists{/gist_id}","starred_url":"https://api.github.com/users/Gbury/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Gbury/subscriptions","organizations_url":"https://api.github.com/users/Gbury/orgs","repos_url":"https://api.github.com/users/Gbury/repos","events_url":"https://api.github.com/users/Gbury/events{/privacy}","received_events_url":"https://api.github.com/users/Gbury/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-11-26T21:43:46Z","updated_at":"2017-11-26T21:43:46Z","closed_at":null,"author_association":"NONE","body":"I just tried to install jbuilder using ocaml-4.05.0+spacetime, and it failed using up all of my 8Go of RAM in about 10 seconds. While I'll probably be able to solve this by using a swap partition, it still strikes me as strange to require more than 8G of RAM.\r\n\r\nHere is the report from opam:\r\n```\r\n#=== ERROR while compiling jbuilder.1.0+beta16 ================================#\r\n# context      2.0.0~beta4 | linux/x86_64 | ocaml-variants.4.05.0+spacetime | https://opam.ocaml.org/2.0#2017-11-21 01:04\r\n# path         ~/.opam/4.05.0+spacetime/.opam-switch/build/jbuilder.1.0+beta16\r\n# command      ocaml bootstrap.ml\r\n# exit-code    2\r\n# env-file     ~/.opam/log/jbuilder-19953-4aef26.env\r\n# output-file  ~/.opam/log/jbuilder-19953-4aef26.out\r\n### output ###\r\n# /home/guigui/.opam/4.05.0+spacetime/bin/ocamllex.opt -q src/sexp_lexer.mll\r\n# /home/guigui/.opam/4.05.0+spacetime/bin/ocamllex.opt -q src/meta_lexer.mll\r\n# /home/guigui/.opam/4.05.0+spacetime/bin/ocamldep.opt -modules src/action.ml src/action_intf.ml src/alias.ml src/ansi_color.ml src/arg_spec.ml src/artifacts.ml src/bin.ml src/build.ml src/build_interpret.ml src/build_system.ml src/clflags.ml src/cm_kind.ml src/config.ml src/context.ml src/file_tree.ml src/findlib.ml src/future.ml src/gen_meta.ml src/gen_rules.ml src/glob_lexer.boot.ml src/impo[...]\r\n# /home/guigui/.opam/4.05.0+spacetime/bin/ocamlopt.opt -w -40 -o boot.exe unix.cmxa boot.ml\r\n# File \"caml_startup\", line 1:\r\n# Error: I/O error: as -o '/tmp/camlstartup936149.o' '/tmp/camlstartup4d4421.s': Cannot allocate memory\r\n```"}}
{"actor":{"display_login":"Gbury"}}