aMSN Forums
February 11, 2012, 07:39:03 pm *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: New forum for aMSN !!
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: CPU and Memory usage too high  (Read 2579 times)
dlublink
Newbie

Offline Offline

Posts: 4


View Profile
« on: August 08, 2008, 07:43:21 pm »

I am running AMSN Messenger on Ubuntu Linux 8.04 and it is taking significant amounts of memory and processor.

The user on who is signing into MSN messenger has 506 contacts. It was taking about 130 megabytes of memory + 50% of processor. I disabled emoticons in the contact list and it is down to 80 megabytes and 20% CPU. Is there anything else I can do to save reduce resources? When it is idle, it should not take more than 0.5% processor.

Thanks,

David

( 11590 maude     20   0  115m  81m 7516 S 17.3 16.4   0:42.46 wish8.5 )
Logged
dlublink
Newbie

Offline Offline

Posts: 4


View Profile
« Reply #1 on: August 08, 2008, 07:48:20 pm »

I disabled animated notifications, automatic retrieval of images and custom fonts :

11619 maude     20   0 97932  61m 7476 S  0.3 12.3   0:36.03 wish8.5

Saved another 20 megabytes.
Logged
kakaroto
Administrator
Super Power User
*****
Offline Offline

Posts: 9424


View Profile WWW
« Reply #2 on: August 08, 2008, 09:05:29 pm »

Hi,
Usually, aMSN would take 30 to 50MB of memory for most accounts.. it will of course be a bit more if you have a huge contact list... but it's always lower than what the official client would be using...
There was a memory leak that caused a huge amount of memory for the first login (then normal for subsequent launches of amsn with the same account) or when you changed your display picture. That bug was fixed, but I do not know in which version it was fixed... You could try the latest SVN version (http://amsn-project.net/wiki/SVN) just in case..
About the CPU, it is usually 0% on idle, with small 1% peaks when someone connects/disconnects/etc... A huge CPU usage is not normal... (someone recently reported that removing the webcam or running the first step of audio/video assistant would lower the CPU back to 0%, but this is unconfirmed..)
I hope that answers your questions..
Logged

KaKaRoTo
dlublink
Newbie

Offline Offline

Posts: 4


View Profile
« Reply #3 on: October 26, 2008, 01:14:08 pm »

The list in question had about 606 contacts. About 550 of those contacts had names that were the longest length allowed with mostly emoticons. I think the way to save on memory and CPU would be to remove contacts from memory when the group is hidden. This way she could hide the offline groupe and eliminate about 400 contacts from memory. The contacts could be moved to a temporary file on the disk.

What do you think?

David
Logged
kakaroto
Administrator
Super Power User
*****
Offline Offline

Posts: 9424


View Profile WWW
« Reply #4 on: October 27, 2008, 01:09:48 am »

humm.. not efficient, and I don't think it's useful, we would be wasting so much time (CPU) and disk usage (which would slow it up) just to access that cache... we do a lot of operations that need to know about all those contacts, so...
and it would only lower the memory usage but nothing else. I think that aMSN using 61MB of memory is quite good for what you just described.. I'm sure the official client would easily go over 100MB...
Logged

KaKaRoTo
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.11 | SMF © 2006-2009, Simple Machines LLC Valid XHTML 1.0! Valid CSS!