From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Original-To: caml-list@sympa.inria.fr Delivered-To: caml-list@sympa.inria.fr Received: from mail3-relais-sop.national.inria.fr (mail3-relais-sop.national.inria.fr [192.134.164.104]) by sympa.inria.fr (Postfix) with ESMTPS id DD5137EEBF for ; Mon, 29 Jun 2015 17:13:41 +0200 (CEST) Received-SPF: None (mail3-smtp-sop.national.inria.fr: no sender authenticity information available from domain of kennethadammiller@gmail.com) identity=pra; client-ip=209.85.218.41; receiver=mail3-smtp-sop.national.inria.fr; envelope-from="kennethadammiller@gmail.com"; x-sender="kennethadammiller@gmail.com"; x-conformance=sidf_compatible Received-SPF: Pass (mail3-smtp-sop.national.inria.fr: domain of kennethadammiller@gmail.com designates 209.85.218.41 as permitted sender) identity=mailfrom; client-ip=209.85.218.41; receiver=mail3-smtp-sop.national.inria.fr; envelope-from="kennethadammiller@gmail.com"; x-sender="kennethadammiller@gmail.com"; x-conformance=sidf_compatible; x-record-type="v=spf1" Received-SPF: None (mail3-smtp-sop.national.inria.fr: no sender authenticity information available from domain of postmaster@mail-oi0-f41.google.com) identity=helo; client-ip=209.85.218.41; receiver=mail3-smtp-sop.national.inria.fr; envelope-from="kennethadammiller@gmail.com"; x-sender="postmaster@mail-oi0-f41.google.com"; x-conformance=sidf_compatible X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: A0CiAgANYJFVmynaVdFbg2VSDQaDGLlXghGGAAKBLwdMAQEBAQEBEgEBAQEBBgsLCSEuhCIBAQEDARIRHQEbHQEDAQsGAwILDSoCAiEBAREBBQEcBhMih3cBAwoIlSCQaz4xiz+Ba4J5imsKGScNV4UVAQEBAQEFAQEBAQEBAQEUAQUOizyCTYI5B4JogUMFlASEWYUZgWOBfI8kBYVMEiOBFREGhCUiMYEDJIEhAQEB X-IPAS-Result: A0CiAgANYJFVmynaVdFbg2VSDQaDGLlXghGGAAKBLwdMAQEBAQEBEgEBAQEBBgsLCSEuhCIBAQEDARIRHQEbHQEDAQsGAwILDSoCAiEBAREBBQEcBhMih3cBAwoIlSCQaz4xiz+Ba4J5imsKGScNV4UVAQEBAQEFAQEBAQEBAQEUAQUOizyCTYI5B4JogUMFlASEWYUZgWOBfI8kBYVMEiOBFREGhCUiMYEDJIEhAQEB X-IronPort-AV: E=Sophos;i="5.13,699,1427752800"; d="scan'208";a="138284310" Received: from mail-oi0-f41.google.com ([209.85.218.41]) by mail3-smtp-sop.national.inria.fr with ESMTP/TLS/RC4-SHA; 29 Jun 2015 17:13:40 +0200 Received: by oiyy130 with SMTP id y130so120085932oiy.0 for ; Mon, 29 Jun 2015 08:13:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=xF4cXYca6S7+fXp43zEJCr0rRQsnR8lkhV/1Ka2lWzY=; b=HVe2vaEM/XgJ9LOI7XT83AmNesges8VJik7fqT7U/7BJjA1NgdurDTpWAjsz+vv+Pp fOnOGyWnI05q5pBACoj70btSGGO239VNazcThvhRfulsiwm7rHdE00jFwDpRg/0VrO2b 9eGdFjbOrf7AfRG9nzjzTt2C1XSGL7X7eeqTfkaqhUfEEmgPDU9ZelCjE3uoxrinV9ic +qURKy9d0A03XncH+ET48MBIbgRFkMGVF8Cg7fvamEgp9WunenePUctarYumpRsVyXrI JFjqnwtb0qNqAAa4cuCQZfOK7hRDg+hecfZFaqIiffoAguaFtGk12c/qQi/lcGB6Mab8 UHzw== MIME-Version: 1.0 X-Received: by 10.202.63.212 with SMTP id m203mr13861101oia.35.1435590819138; Mon, 29 Jun 2015 08:13:39 -0700 (PDT) Received: by 10.202.191.8 with HTTP; Mon, 29 Jun 2015 08:13:39 -0700 (PDT) In-Reply-To: <558F63B9.3050502@gmail.com> References: <558EE2DC.3010406@gmail.com> <558F63B9.3050502@gmail.com> Date: Mon, 29 Jun 2015 11:13:39 -0400 Message-ID: From: Kenneth Adam Miller To: Iguernlala Mohamed Cc: caml users Content-Type: multipart/alternative; boundary=001a113d6cb8d156f20519a988d6 Subject: Re: [Caml-list] Massive Memory Consumption --001a113d6cb8d156f20519a988d6 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Having trouble installing ocp-memprof: opam switch 4.01.0+ocp1-20150202 opam install core # that gives the below error #=3D=3D=3D ERROR while installing lwt.2.4.5 =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D# # opam-version 1.2.0 # os linux # command ./configure --disable-libev --enable-react --disable-ssl --enable-unix --enable-extra --disable-preemptive --disable-glib --disable-text # path /home/kennethadammiller/.opam/4.01.0+ocp1-20150202/build/lwt.2.4.5 # compiler 4.01.0+ocp1-20150202 # exit-code 1 # env-file /home/kennethadammiller/.opam/4.01.0+ocp1-20150202/build/lwt.2.4.5/lwt-9302= -90b366.env # stdout-file /home/kennethadammiller/.opam/4.01.0+ocp1-20150202/build/lwt.2.4.5/lwt-930= 2-90b366.out # stderr-file /home/kennethadammiller/.opam/4.01.0+ocp1-20150202/build/lwt.2.4.5/lwt-930= 2-90b366.err ### stderr ### # E: Cannot find buildable internal library 'lwt-preemptive' when checking build depends # E: Failure("1 configuration error") #=3D=3D=3D ERROR while installing typerep.111.17.00 =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D# # opam-version 1.2.0 # os linux # command make # path /home/kennethadammiller/.opam/4.01.0+ocp1-20150202/build/typerep.111.17.00 # compiler 4.01.0+ocp1-20150202 # exit-code 2 # env-file /home/kennethadammiller/.opam/4.01.0+ocp1-20150202/build/typerep.111.17.00/= typerep-8640-062a54.env # stdout-file /home/kennethadammiller/.opam/4.01.0+ocp1-20150202/build/typerep.111.17.00= /typerep-8640-062a54.out # stderr-file /home/kennethadammiller/.opam/4.01.0+ocp1-20150202/build/typerep.111.17.00= /typerep-8640-062a54.err ### stdout ### # ...[truncated] # Re-raised at file "driver/compile.ml", line 120, characters 10-11 # Called from file "driver/optmain.ml", line 234, characters 25-26 # Called from file "arg.ml", line 252, characters 11-20 # Called from file "arg.ml", line 264, characters 4-32 # Called from file "driver/optmain.ml", line 234, characters 25-26 # Re-raised at file "driver/errors.ml", line 79, characters 33-34 # Called from file "format.ml", line 1197, characters 8-23 # Called from file "driver/optmain.ml", line 234, characters 25-26 # Called from file "driver/optmain.ml", line 234, characters 25-26 # Command exited with code 2. ### stderr ### # W: Cannot find source file matching module 'typerep_generics_sexprep' in library typerep_generics_sexprep # W: Cannot find source file matching module 'typerep_extended' in library typerep_extended # W: Cannot find source file matching module 'typerep_lib' in library typerep_lib # E: Failure("Command ''/home/kennethadammiller/.opam/4.01.0+ocp1-20150202/bin/ocamlbuild' lib/typerep_lib.cma lib/typerep_lib.cmxa lib/typerep_lib.a lib/typerep_lib.cmxs syntax/with_typerep/typerep_syntax.cma syntax/with_typerep/typerep_syntax.cmxa syntax/with_typerep/typerep_syntax.a syntax/with_typerep/typerep_syntax.cmxs extended/lib/typerep_extended.cma extended/lib/typerep_extended.cmxa extend...[truncated] # make: *** [build] Error 1 I'll switch to the other version of ocp and try and build install core, possibly it's a compiler and package version combination thing... On Sat, Jun 27, 2015 at 11:02 PM, Iguernlala Mohamed < mohamed.iguernelala@gmail.com> wrote: > If you plan to release it, I guess that it will be open source (?). So, > you should be able to use > the online (public) version of ocp-memprof if you don't want/cannot > request for a private > version. > > > > Le 27/06/2015 20:26, Kenneth Adam Miller a =C3=A9crit : > > Well I can release it, but I was planning on integrating it into a > library. Can we share with one another somehow so that it's just > temporarily private? > > On Sat, Jun 27, 2015 at 1:52 PM, Iguernlala Mohamed < > mohamed.iguernelala@gmail.com> wrote: > >> Hi, >> >> Can you elaborate ? What is the kind of tool you would like to profile ? >> - open-source vs closed-source ? >> - commercial or not ? >> - ... >> >> Regards, >> Mohamed Iguernlala. >> >> >> >> Le 27/06/2015 15:38, Kenneth Adam Miller a =C3=A9crit : >> >>> So, I saw that ocp-memprof is private, so I was looking for an >>> alternative. What kind of other profiling tools for ocaml are out there? >>> >> >> > > --001a113d6cb8d156f20519a988d6 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Having trouble installing ocp-memprof:

= opam switch=C2=A04.01.0+ocp1-20150202
opam install core # that gi= ves the below error

#=3D=3D=3D ERROR while in= stalling lwt.2.4.5 =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D#
# opam-version 1.2.0
# os =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 linux
# command =C2=A0 =C2=A0 =C2=A0./configure --disable-lib= ev --enable-react --disable-ssl --enable-unix --enable-extra --disable-pree= mptive --disable-glib --disable-text
# path =C2=A0 =C2=A0 =C2=A0 = =C2=A0 /home/kennethadammiller/.opam/4.01.0+ocp1-20150202/build/lwt.2.4.5
# compiler =C2=A0 =C2=A0 4.01.0+ocp1-20150202
# exit-cod= e =C2=A0 =C2=A01
# env-file =C2=A0 =C2=A0 /home/kennethadammiller= /.opam/4.01.0+ocp1-20150202/build/lwt.2.4.5/lwt-9302-90b366.env
#= stdout-file =C2=A0/home/kennethadammiller/.opam/4.01.0+ocp1-20150202/build= /lwt.2.4.5/lwt-9302-90b366.out
# stderr-file =C2=A0/home/kennetha= dammiller/.opam/4.01.0+ocp1-20150202/build/lwt.2.4.5/lwt-9302-90b366.err
### stderr ###
# E: Cannot find buildable internal librar= y 'lwt-preemptive' when checking build depends
# E: Failu= re("1 configuration error")


#=3D=3D=3D ERROR while installing typerep.111.17.00 =3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D#
# opam-version 1.2.0
# os =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 linux
# command =C2=A0 =C2=A0 =C2=A0make
= # path =C2=A0 =C2=A0 =C2=A0 =C2=A0 /home/kennethadammiller/.opam/4.01.0+ocp= 1-20150202/build/typerep.111.17.00
# compiler =C2=A0 =C2=A0 4.01.= 0+ocp1-20150202
# exit-code =C2=A0 =C2=A02
# env-file = =C2=A0 =C2=A0 /home/kennethadammiller/.opam/4.01.0+ocp1-20150202/build/type= rep.111.17.00/typerep-8640-062a54.env
# stdout-file =C2=A0/home/k= ennethadammiller/.opam/4.01.0+ocp1-20150202/build/typerep.111.17.00/typerep= -8640-062a54.out
# stderr-file =C2=A0/home/kennethadammiller/.opa= m/4.01.0+ocp1-20150202/build/typerep.111.17.00/typerep-8640-062a54.err
### stdout ###
# ...[truncated]
# Re-raised at fi= le "driver/compile.ml", line 12= 0, characters 10-11
# Called from file "driver/optmain.ml", line 234, characters 25-26
# Called from file "arg.ml", line = 252, characters 11-20
# Called from file "arg.ml", line 264, characters 4-32
# Called from= file "driver/optmain.ml", line= 234, characters 25-26
# Re-raised at file "driver/errors.ml", line 79, characters 33-34
<= div># Called from file "format.ml&quo= t;, line 1197, characters 8-23
# Called from file "driver/optmain.ml", line 234, characters 25-2= 6
# Called from file "driver/o= ptmain.ml", line 234, characters 25-26
# Command exited = with code 2.
### stderr ###
# W: Cannot find source fil= e matching module 'typerep_generics_sexprep' in library typerep_gen= erics_sexprep
# W: Cannot find source file matching module 't= yperep_extended' in library typerep_extended
# W: Cannot find= source file matching module 'typerep_lib' in library typerep_lib
# E: Failure("Command ''/home/kennethadammiller/.opam= /4.01.0+ocp1-20150202/bin/ocamlbuild' lib/typerep_lib.cma lib/typerep_l= ib.cmxa lib/typerep_lib.a lib/typerep_lib.cmxs syntax/with_typerep/typerep_= syntax.cma syntax/with_typerep/typerep_syntax.cmxa syntax/with_typerep/type= rep_syntax.a syntax/with_typerep/typerep_syntax.cmxs extended/lib/typerep_e= xtended.cma extended/lib/typerep_extended.cmxa extend...[truncated]
# make: *** [build] Error 1

I'll swit= ch to the other version of ocp and try and build install core, possibly it&= #39;s a compiler and package version combination thing...


On Sat, = Jun 27, 2015 at 11:02 PM, Iguernlala Mohamed <mohamed.iguerne= lala@gmail.com> wrote:
=20=20 =20=20=20=20 =20=20
If you plan to release it, I guess that it will be open source (?). So, you should be able to use
the online (public) version of ocp-memprof if you don't want/cannot request for a private
version.

--001a113d6cb8d156f20519a988d6--