List Info

Thread: Memory leak in Psi




Memory leak in Psi
country flaguser name
Poland
2007-08-26 04:10:15
Welcome,


I'm using Psi-0.11 development snapshot made on August 18,
2007. It has 
been running for last 7 days (since August 19, 2007 20:30
CEST; I 
hibernate my operating system every night). I've noticed
that free RAM 
level in my system (Windows XP Professional Service Pack 2
with all the 
latest patches) so I've used SysInternals' Process Explorer
to find the 
process(es) which use up RAM.

At the moment, my Psi is using
- 217824 KiB of private bytes
- 424120 KiB of virtual size
- 150744 KiB of working set
And the numbers have increased a bit since my discovery.

I'm not using spell checking (one of the libraries from
aspell has been 
identified to cause memory leaks in the past).


I've compiled this Psi by myself (using Qt/OpenSource for
Windows, 
version 4.2.3 and MinGW with gcc/g++-3.4.2). Previous
versions did not 
use so much memory when running for a long time.


Regards,

-- 
Micha³ Jaz³owiecki (michalj)
Psi Forum & Wiki Moderator

_______________________________________________
Psi-Devel mailing list
Psi-Devellists.affinix.com
http://lists.affinix.com/listinfo.cgi/psi-devel-affin
ix.com

Re: Memory leak in Psi
user name
2007-08-26 05:37:02
> - 217824 KiB of private bytes
> - 424120 KiB of virtual size
> - 150744 KiB of working set

Hmm. Someone should valgrind Psi and see if we can find the
leaks.

cheers,
Remko
_______________________________________________
Psi-Devel mailing list
Psi-Devellists.affinix.com
http://lists.affinix.com/listinfo.cgi/psi-devel-affin
ix.com

Re: Memory leak in Psi
country flaguser name
Poland
2007-08-26 07:03:34
Remko Tronçon pisze:
>> - 217824 KiB of private bytes
>> - 424120 KiB of virtual size
>> - 150744 KiB of working set
> 
> Hmm. Someone should valgrind Psi and see if we can find
the leaks.

For comparison, after few hours (2 hrs 50 mins; one system
hibernation 
in mean time) of work:
-  41544 KiB of private bytes
- 114864 KiB of virtual size
-  49780 KiB of working set

Just a blind shot: there were several file transfers during
the previous 
Psi session (before I quitted it and started again).


Regards,

-- 
Micha³ Jaz³owiecki (michalj)
Psi Forum & Wiki Moderator

_______________________________________________
Psi-Devel mailing list
Psi-Devellists.affinix.com
http://lists.affinix.com/listinfo.cgi/psi-devel-affin
ix.com

Re: Memory leak in Psi
user name
2007-08-26 07:12:27
On 26.08.2007, at 14:37, Remko Tronçon wrote:
>> - 217824 KiB of private bytes
>> - 424120 KiB of virtual size
>> - 150744 KiB of working set
>
> Hmm. Someone should valgrind Psi and see if we can find
the leaks.

I tried it not so long ago, and it's pretty hard with many
false Qt  
and X11 positives.

-mblsha
_______________________________________________
Psi-Devel mailing list
Psi-Devellists.affinix.com
http://lists.affinix.com/listinfo.cgi/psi-devel-affin
ix.com
[1-4]

about | contact  Other archives ( Real Estate discussion Medical topics )