caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
* [Caml-list] Massive Memory Consumption
@ 2015-06-27 14:38 Kenneth Adam Miller
  2015-06-27 17:52 ` Iguernlala Mohamed
  0 siblings, 1 reply; 6+ messages in thread
From: Kenneth Adam Miller @ 2015-06-27 14:38 UTC (permalink / raw)
  To: caml users

[-- Attachment #1: Type: text/plain, Size: 136 bytes --]

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?

[-- Attachment #2: Type: text/html, Size: 157 bytes --]

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [Caml-list] Massive Memory Consumption
  2015-06-27 14:38 [Caml-list] Massive Memory Consumption Kenneth Adam Miller
@ 2015-06-27 17:52 ` Iguernlala Mohamed
  2015-06-27 19:26   ` Kenneth Adam Miller
  0 siblings, 1 reply; 6+ messages in thread
From: Iguernlala Mohamed @ 2015-06-27 17:52 UTC (permalink / raw)
  To: Kenneth Adam Miller; +Cc: caml-list

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 écrit :
> 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?


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [Caml-list] Massive Memory Consumption
  2015-06-27 17:52 ` Iguernlala Mohamed
@ 2015-06-27 19:26   ` Kenneth Adam Miller
  2015-06-28  3:02     ` Iguernlala Mohamed
  0 siblings, 1 reply; 6+ messages in thread
From: Kenneth Adam Miller @ 2015-06-27 19:26 UTC (permalink / raw)
  Cc: caml users

[-- Attachment #1: Type: text/plain, Size: 668 bytes --]

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 écrit :
>
>> 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?
>>
>
>

[-- Attachment #2: Type: text/html, Size: 1129 bytes --]

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [Caml-list] Massive Memory Consumption
  2015-06-27 19:26   ` Kenneth Adam Miller
@ 2015-06-28  3:02     ` Iguernlala Mohamed
  2015-06-29 15:13       ` Kenneth Adam Miller
  0 siblings, 1 reply; 6+ messages in thread
From: Iguernlala Mohamed @ 2015-06-28  3:02 UTC (permalink / raw)
  To: Kenneth Adam Miller; +Cc: caml users

[-- Attachment #1: Type: text/plain, Size: 1014 bytes --]

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 écrit :
> 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 <mailto: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 écrit :
>
>         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?
>
>
>


[-- Attachment #2: Type: text/html, Size: 2352 bytes --]

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [Caml-list] Massive Memory Consumption
  2015-06-28  3:02     ` Iguernlala Mohamed
@ 2015-06-29 15:13       ` Kenneth Adam Miller
  2015-06-29 16:29         ` Iguernlala Mohamed
  0 siblings, 1 reply; 6+ messages in thread
From: Kenneth Adam Miller @ 2015-06-29 15:13 UTC (permalink / raw)
  To: Iguernlala Mohamed; +Cc: caml users

[-- Attachment #1: Type: text/plain, Size: 4261 bytes --]

Having trouble installing ocp-memprof:

opam switch 4.01.0+ocp1-20150202
opam install core # that gives the below error

#=== ERROR while installing lwt.2.4.5
=========================================#
# 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-9302-90b366.out
# stderr-file
 /home/kennethadammiller/.opam/4.01.0+ocp1-20150202/build/lwt.2.4.5/lwt-9302-90b366.err
### stderr ###
# E: Cannot find buildable internal library 'lwt-preemptive' when checking
build depends
# E: Failure("1 configuration error")


#=== ERROR while installing typerep.111.17.00
=================================#
# 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 écrit :
>
> 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 écrit :
>>
>>> 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?
>>>
>>
>>
>
>

[-- Attachment #2: Type: text/html, Size: 6674 bytes --]

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [Caml-list] Massive Memory Consumption
  2015-06-29 15:13       ` Kenneth Adam Miller
@ 2015-06-29 16:29         ` Iguernlala Mohamed
  0 siblings, 0 replies; 6+ messages in thread
From: Iguernlala Mohamed @ 2015-06-29 16:29 UTC (permalink / raw)
  To: Kenneth Adam Miller; +Cc: caml users, memprof-bugs

[-- Attachment #1: Type: text/plain, Size: 5294 bytes --]

I don't remember if you reported the bug to "memprof-bugs@ocamlpro.com".
This is definitely the best thing to do.

We regularly update the online version of ocp-memprof when bugs are fixed.
But, it is more difficult to update the compiler, mainly for 
compatibility reasons.
We should work on this in the future.

Unfortunately, I think your bug is coming from this part of the "OCaml 
Memory
Profiler". So you have to wait to be able to use the online version :-/

Regards,
Mohamed.


Le 29/06/2015 16:13, Kenneth Adam Miller a écrit :
> Having trouble installing ocp-memprof:
>
> opam switch 4.01.0+ocp1-20150202
> opam install core # that gives the below error
>
> #=== ERROR while installing lwt.2.4.5 
> =========================================#
> # 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-9302-90b366.out
> # stderr-file 
>  /home/kennethadammiller/.opam/4.01.0+ocp1-20150202/build/lwt.2.4.5/lwt-9302-90b366.err
> ### stderr ###
> # E: Cannot find buildable internal library 'lwt-preemptive' when 
> checking build depends
> # E: Failure("1 configuration error")
>
>
> #=== ERROR while installing typerep.111.17.00 
> =================================#
> # 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 <http://compile.ml>", line 120, 
> characters 10-11
> # Called from file "driver/optmain.ml <http://optmain.ml>", line 234, 
> characters 25-26
> # Called from file "arg.ml <http://arg.ml>", line 252, characters 11-20
> # Called from file "arg.ml <http://arg.ml>", line 264, characters 4-32
> # Called from file "driver/optmain.ml <http://optmain.ml>", line 234, 
> characters 25-26
> # Re-raised at file "driver/errors.ml <http://errors.ml>", line 79, 
> characters 33-34
> # Called from file "format.ml <http://format.ml>", line 1197, 
> characters 8-23
> # Called from file "driver/optmain.ml <http://optmain.ml>", line 234, 
> characters 25-26
> # Called from file "driver/optmain.ml <http://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 <mailto: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 écrit :
>>     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
>>     <mailto: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 écrit :
>>
>>             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?
>>
>>
>>
>
>


[-- Attachment #2: Type: text/html, Size: 10099 bytes --]

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2015-06-29 16:29 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-06-27 14:38 [Caml-list] Massive Memory Consumption Kenneth Adam Miller
2015-06-27 17:52 ` Iguernlala Mohamed
2015-06-27 19:26   ` Kenneth Adam Miller
2015-06-28  3:02     ` Iguernlala Mohamed
2015-06-29 15:13       ` Kenneth Adam Miller
2015-06-29 16:29         ` Iguernlala Mohamed

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).