Mailinglist Archive: opensuse-programming (55 mails)

< Previous Next >
Re: [suse-programming-e] I'm loosing memory. .. . .
  • From: Jerry Feldman <gaf@xxxxxxx>
  • Date: Wed, 24 Sep 2003 09:36:46 -0400
  • Message-id: <20030924093646.6bd4da95.gaf@xxxxxxx>
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Wed, 24 Sep 2003 15:09:18 -0700
dries <dries@xxxxxxxxxxxxx> wrote:

> Jerry Feldman wrote :
> >
> > Does it use mmap(2).
> > Also, possibly some libraries are loaded and not unloaded
> > immediately.- --
>
> It doesn't explicitly use mmap, however a library function could use
> it internally without me knowing.
>
> We are also not loading shared libraries ourself, if the system
> doesn't unload the libs immediately it would if there is going to be a
> memory shortage isn' it ?.
>
> Do you know of any tools to check mmap-ed memory ??
I don't know if valgrind does, but you might consider it to help look
for leaks in your application.
(Actually, Purify does check mmaped memory, but it is a commercial
product).


- --
Jerry Feldman <gaf@xxxxxxx>
Boston Linux and Unix user group
http://www.blu.org PGP key id:C5061EA9
PGP Key fingerprint:053C 73EC 3AC1 5C44 3E14 9245 FB00 3ED5 C506 1EA9
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.2-rc1-SuSE (GNU/Linux)

iD8DBQE/cZ3u+wA+1cUGHqkRAhCoAJ92bgB6NbE8CIExXrgpSjTPLuFSrwCbBJQw
u7ee/C8HOD2UcnUoXv20dmo=
=Vcqi
-----END PGP SIGNATURE-----

< Previous Next >