Re: Massive PerlQt memory leakage
Gary Greene <[email protected]> Mon, 4 Jul 2005 20:21:35 -0400
| Newsgroups | gmane.comp.kde.devel.perl |
|---|---|
| Organization | Shore Line Technologies |
| Message-ID | <[email protected]> |
On Sunday 03 July 2005 03:03 pm, Marius Kjeldahl wrote: > I'm using PerlQt for a long running GUI process and I'm seeing massive > memory losses, even when the application is not doing anything but getting > a one second timer tick and update a qlabel. I've seen a couple of other > posts about similar problems, but have not been able to see people > confirming or denying the existense of memory leakage in PerlQt. > > Does anybody have any information about this? > > Thanks, > > Marius K. > (PerlQt 3.008 on Gentoo Linux) > _______________________________________________ > Kde-perl mailing list > [email protected] > https://mail.kde.org/mailman/listinfo/kde-perl I can confirm this as Germain sent me a patch for it a little over a year ago when I packaged it for another distribution. The patch is attached. -- Gary L. Greene, Jr. Sent from uriel.tolharadys.net 20:14:41 up 39 min, 2 users, load average: 0.02, 0.06, 0.16 ============================================================ Developer and Project Lead for PhoeNUX OS. check out http://www.phoenuxos.com/ for more info. EMAIL : [email protected] ============================================================ _______________________________________________ Kde-perl mailing list [email protected] https://mail.kde.org/mailman/listinfo/kde-perl
Qt.xs.3.008.leak.diff
(text/x-diff, 242 B)
--- PerlQt/Qt.xs~ 2004-06-01 10:12:35.000000000 +0100
+++ PerlQt/Qt.xs 2004-06-01 10:12:35.000000000 +0100
@@ -152,6 +152,7 @@
SvREFCNT_dec(keysv);
return 0;
}
+ SvREFCNT_dec(keysv);
return *svp;
}
signature.asc
(application/pgp-signature, 189 B)
-----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.0 (GNU/Linux) iD8DBQBCydKT+psNrGG9CbMRAoZTAKCKvDhXV/eGMBDggjw2lOh3FqRd6gCdEilD fPEktbUHi6Di5vhKYoDQ9I0= =0jic -----END PGP SIGNATURE-----