Re: My dbus doesn't work on MacOSX anymore...

2011-08-07 Thread Thiago Macieira
On Monday, 8 de August de 2011 01:40:03 Marko Käning wrote: > messagebus53 0.0 0.0 2435472712 ?? Ss5:58PM 0:00.01 > /opt/clean-slate/bin/dbus-daemon --system --nofork Compare the prefix of this installation to that of the socket you're connecting to. I'm guessing that this dae

Re: Measuring memory consumption

2011-08-07 Thread Thiago Macieira
On Monday, 8 de August de 2011 03:18:29 Christoph Feck wrote: > How exactly the massif tool needs to be used to analyze/improve our > KDE applications is beyond this mail; someone else might add that > information. While not ideal, this works already: valgrind --tool=massif appname -- Thiago

Re: Measuring memory consumption

2011-08-07 Thread Christoph Feck
On Sunday 07 August 2011 22:47:45 Sven Burmeister wrote: > Am Sonntag, 7. August 2011, 12:06:05 schrieb Michael Pyne: > > On Sunday, August 07, 2011 15:06:57 Sven Burmeister wrote: > > > Back in 2005 there was an article > > > (http://blogs.kde.org/node/1445) about memory measurement > > > which ba

Re: My dbus doesn't work on MacOSX anymore...

2011-08-07 Thread Marko Käning
On Aug 8, 2011, at 12:48 AM, Thiago Macieira wrote: > The socket entry in the filesystem exists, but there's no one listening on > the > other side. So my guess is that the D-Bus system daemon isn't running. I > recommend you run it. Oh, there is someone listening, look here: --- markos-imac:~ m

Re: My dbus doesn't work on MacOSX anymore...

2011-08-07 Thread Thiago Macieira
On Sunday, 7 de August de 2011 20:34:37 Marko Käning wrote: > $ qdbus --system > Could not connect to D-Bus server: org.freedesktop.DBus.Error.NoServer: > Failed to connect to socket > /opt/macports-test/var/run/dbus/system_bus_socket: Connection refused --- > > Checking the socket shows that it sh

Re: Measuring memory consumption

2011-08-07 Thread Thiago Macieira
On Sunday, 7 de August de 2011 22:47:45 Sven Burmeister wrote: > > I'm late to the thread, but I did want to point out that at some point in > > the KDE 4 timeframe, John Tapsell added a "Detailed Memory Information" > > option to the context menu for the process list in ksysguard. > > Indeed! Tha

Re: Measuring memory consumption

2011-08-07 Thread Thiago Macieira
On Sunday, 7 de August de 2011 16:56:51 Marko Käning wrote: > Where can one get the script rssanalyse.pl ? I sent to the list 5 emails ago. -- Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org Software Architect - Intel Open Source Technology Center PGP/GPG: 0x6EF45358; f

Re: Measuring memory consumption

2011-08-07 Thread Thiago Macieira
On Sunday, 7 de August de 2011 16:21:45 Marko Käning wrote: > On Aug 7, 2011, at 3:59 PM, Sven Burmeister wrote: > > This happens when I open a folder with ~14000 emails in kmail2 and does > > not > > decrease after closing kmail2. > > Hmm, does that mean that kmail2 is actually not freeing the mem

Re: Measuring memory consumption

2011-08-07 Thread Thiago Macieira
On Sunday, 7 de August de 2011 16:28:17 Thomas Lübking wrote: > I'm not familiar with those scripts, but it really looks like akonadi > has 463MB on the heap -> the "Acive" memory should raise by this > number, resp. shrink if you "akonadictl stop" and ensure this process > is gone (otherwise i thi

Re: Measuring memory consumption

2011-08-07 Thread Sven Burmeister
Am Sonntag, 7. August 2011, 12:06:05 schrieb Michael Pyne: > On Sunday, August 07, 2011 15:06:57 Sven Burmeister wrote: > > Back in 2005 there was an article (http://blogs.kde.org/node/1445) about > > memory measurement which basically stated that you cannot trust whatever > > ps aux or KDE's syste

My dbus doesn't work on MacOSX anymore...

2011-08-07 Thread Marko Käning
Hi KDE devs, I've got a question concerning dbus. I installed kde 4.7.0 via MacPorts on MacOSX and experience an annoying problem with dbus since many weeks which is preventing starting of any KDE application [1]. Only today I found the tool qdbus which revealed that it is impossible connect

Re: Measuring memory consumption

2011-08-07 Thread Michael Pyne
On Sunday, August 07, 2011 15:06:57 Sven Burmeister wrote: > Hey! > > Back in 2005 there was an article (http://blogs.kde.org/node/1445) about > memory measurement which basically stated that you cannot trust whatever ps > aux or KDE's system monitor tells you. The latter displays that information

Re: Measuring memory consumption

2011-08-07 Thread Marko Käning
> I think the mailinglist did not let his email through because of the > attachment. Since Thiago posted it to mailinglist I hope it's ok if I forward > it to you. Thomas pointed out that it was attached and now that I looked again I spotted it too. :-) So, no need to send it once again. Thanks

Re: Measuring memory consumption

2011-08-07 Thread Sven Burmeister
Am Sonntag, 7. August 2011, 16:56:51 schrieb Marko Käning: > Where can one get the script rssanalyse.pl ? I think the mailinglist did not let his email through because of the attachment. Since Thiago posted it to mailinglist I hope it's ok if I forward it to you. Sven >> Visit http://mail.kde.

Re: Measuring memory consumption

2011-08-07 Thread Thomas Baumgart
Hi, on Sunday 07 August 2011 16:56:51 Marko Käning wrote: > Where can one get the script rssanalyse.pl ? It was attached to Thiago's mail. -- Regards Thomas Baumgart GPG-FP: E55E D592 F45F 116B 8429 4F99 9C59 DB40 B75D D3BA - If

Re: Measuring memory consumption

2011-08-07 Thread Marko Käning
Where can one get the script rssanalyse.pl ? >> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<

Re: Measuring memory consumption

2011-08-07 Thread Sven Burmeister
Am Sonntag, 7. August 2011, 16:21:45 schrieb Marko Käning: > On Aug 7, 2011, at 3:59 PM, Sven Burmeister wrote: > > This happens when I open a folder with ~14000 emails in kmail2 and does > > not decrease after closing kmail2. > > Hmm, does that mean that kmail2 is actually not freeing the memory?

Re: Measuring memory consumption

2011-08-07 Thread Thomas Lübking
Am Sun, 07 Aug 2011 15:06:57 +0200 schrieb Sven Burmeister : > Hey! > ... > So what tool/data is accepted to prove that a process does actually > consume y MB of memory? What about /proc//smaps? a) read here and around for many details (linux memory management) http://linux-mm.org/ActualMemoryFoot

Re: Measuring memory consumption

2011-08-07 Thread Marko Käning
On Aug 7, 2011, at 3:59 PM, Sven Burmeister wrote: > This happens when I open a folder with ~14000 emails in kmail2 and does not > decrease after closing kmail2. Hmm, does that mean that kmail2 is actually not freeing the memory? >> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to

Re: Measuring memory consumption

2011-08-07 Thread Sven Burmeister
Am Sonntag, 7. August 2011, 15:35:36 schrieb Thiago Macieira: > I was improving my own script a few nights ago. Testing on the same > application as you tested: My findings with your script: sudo perl rssanalyse.pl 10771 Total mapped memory: 745888 kB of which swapped out: 0 kB of which

Re: Measuring memory consumption

2011-08-07 Thread Thiago Macieira
On Sunday, 7 de August de 2011 15:06:57 Sven Burmeister wrote: > So what tool/data is accepted to prove that a process does actually consume > y MB of memory? What about /proc//smaps? > > I found a script that summarises the data to something like this: > > perl smem.pl 2400 > > VMSIZE: 746

Measuring memory consumption

2011-08-07 Thread Sven Burmeister
Hey! Back in 2005 there was an article (http://blogs.kde.org/node/1445) about memory measurement which basically stated that you cannot trust whatever ps aux or KDE's system monitor tells you. The latter displays that information anyway. Ok, so if you as a user now claim that app x uses a huge