Re: Memory leak with inout parameters
Alex Hornby <[email protected]> 07 Nov 2002 16:00:19 +0000
| Newsgroups | gmane.comp.gnome.orbit.perl |
|---|---|
| Message-ID | <[email protected]> |
On Thu, 2002-11-07 at 15:20, Arne Georg Gleditsch wrote: > Hi, > > I'm seeing memory leaks in my Perl application which I think are > attributable to ORBit in some way. I'll append test cases, as they're > fairly small. The test cases have been run on Linux (as the /proc- > usage indicates), but I've observed this behaviour on Solaris as well. > I've tried this with Perl 5.6.1, Perl-ORBit 0.4.17 and ORBit 0.5.16. > The differences to ORBit 0.5.17 do not look significant. I've run the > test case with 1000000 iterations, and seem to be losing ~ 58.7 bytes > for each call. I'm looking for info on whether anyone else sees this > as well as hints on where to start debugging. > > > Arne. Hi Arne, Are the leaks in the client or the server? If you are on Linux you could try running your tests under valgrind ( see http://developer.kde.org/~sewardj/ ). Cheers, Alex.