Ping!

18 views
Skip to first unread message

Jesus Cea

unread,
Dec 10, 2013, 12:05:48 PM12/10/13
to mem...@googlegroups.com
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Pong?

I am trying to understand how memprof is used. I see that it is
drawubg memory used by each variable, but I don't see how to get
memory leak info from that :-?.

Maybe some tutorial?.

- --
Jesᅵs Cea Aviᅵn _/_/ _/_/_/ _/_/_/
jc...@jcea.es - http://www.jcea.es/ _/_/ _/_/ _/_/ _/_/ _/_/
Twitter: @jcea _/_/ _/_/ _/_/_/_/_/
jabber / xmpp:jc...@jabber.org _/_/ _/_/ _/_/ _/_/ _/_/
"Things are not so easy" _/_/ _/_/ _/_/ _/_/ _/_/ _/_/
"My name is Dump, Core Dump" _/_/_/ _/_/_/ _/_/ _/_/
"El amor es poner tu felicidad en la felicidad de otro" - Leibniz
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.15 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iQCVAwUBUqdJ65lgi5GaxT1NAQI4vwP9EOGEpzRgzIWJNXVQfLz6ko93bHwO6wCX
frybIUUElUl97htg/B9mzg46wHqzeQB+6valwUMQ00APWfEPwQCRWjYVTyOac0+F
ig4wP64HCP0GIs7GnT2ILtHEg9lLQJKS/4yKWeZaz/xnNYR90jFSJPRZUeHksldH
+E8d8OLCxAs=
=vqrM
-----END PGP SIGNATURE-----

J.M. Dana

unread,
Dec 10, 2013, 12:37:07 PM12/10/13
to Jesus Cea

memprof is a variable-level memory profiler and was not designed
specifically for identifying memory leaks.

It can help you to see graphically if your data structure is the right
one, your algorithm is handling things properly, why is your memory
usage so high, why a variable is still in the scope, etc.

Identifying memory leaks is a more complex operation, specially for
programming languages with garbage collectors where most memory leaks
will have nothing to do with your code!

If there is something more concrete that you are trying to do with
memprof please let me know and I'll try to find out how it could be
done.

J.



On 10/Dec/13 18:05, Jesus Cea wrote:
> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
>
> Pong?
>
> I am trying to understand how memprof is used. I see that it is
> drawubg memory used by each variable, but I don't see how to get
> memory leak info from that :-?.
>
> Maybe some tutorial?.
>
> - -- Jes�s Cea Avi�n _/_/ _/_/_/ _/_/_/
> jc...@jcea.es - http://www.jcea.es/ _/_/ _/_/ _/_/ _/_/ _/_/
> Twitter: @jcea _/_/ _/_/ _/_/_/_/_/ jabber /
> xmpp:jc...@jabber.org _/_/ _/_/ _/_/ _/_/ _/_/ "Things are not so
> easy" _/_/ _/_/ _/_/ _/_/ _/_/ _/_/ "My name is Dump, Core
> Dump" _/_/_/ _/_/_/ _/_/ _/_/ "El amor es poner tu felicidad
> en la felicidad de otro" - Leibniz -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.15 (GNU/Linux) Comment: Using GnuPG with
> Thunderbird - http://www.enigmail.net/
>
> iQCVAwUBUqdJ65lgi5GaxT1NAQI4vwP9EOGEpzRgzIWJNXVQfLz6ko93bHwO6wCX
> frybIUUElUl97htg/B9mzg46wHqzeQB+6valwUMQ00APWfEPwQCRWjYVTyOac0+F
> ig4wP64HCP0GIs7GnT2ILtHEg9lLQJKS/4yKWeZaz/xnNYR90jFSJPRZUeHksldH
> +E8d8OLCxAs= =vqrM -----END PGP SIGNATURE-----
>
> -- http://jmdana.github.io/memprof/ http://github.com/jmdana/memprof
> --- You received this message because you are subscribed to the Google
> Groups "memprof" group. To unsubscribe from this group and stop
> receiving emails from it, send an email to
> memprof+u...@googlegroups.com. To post to this group, send
> email to mem...@googlegroups.com. Visit this group at
> http://groups.google.com/group/memprof. To view this discussion on
> the web visit
> https://groups.google.com/d/msgid/memprof/52A749EC.401%40jcea.es. For
> more options, visit https://groups.google.com/groups/opt_out.
Reply all
Reply to author
Forward
0 new messages