Share

image

Introduction

Dear Skype,

you are great. You have the convenience of a nearby, well, convenience store and the UI that is acceptable to even an Apple fanboy (I'm not one, I'm just saying).

Skype also has a Firefox extension which finds all pieces of text that resemble phone numbers on web pages you are visiting and converts them into clickable Skype buttons image. One click and you're dialing the number. The premise is great but the execution… When it comes to your Firefox extension, Skype – you suck. You really suck.

The Problem Bullshit

So what makes me say these mean things? Is it the fact that when simply searching Google for "skype firefox", one finds mostly blog posts and references to major fail? Or is it the fact that MozillaZine's Problematic Extensions page lists Skype as one of the buggiest?

Well, yes. Those are great, aren't they? However, what really prompted me to write this post is my own experience with this extension.

As I am getting into Android development nowadays, I read the Android dev guide quite a lot. Thus, it was no surprise that yesterday I was happily reading the page about Handling UI Events. What was a surprise, however, is that when I clicked over to the View API reference page (in case that page ever changes for documentation reasons, I also saved it here), my Firefox went into a painful agony and exploded in a few minutes.

image

What the fudgemonkeys? Let's do this again and watch the Process Explorer

image

This is what we call a memory leak – a prime example at that. In the screenshot above, the CPU usage spikes to 100% (shown as 50% because it's a dual core CPU), Firefox's memory usage jumps to around 2GB from 100MB, in 500MB/s increments. Finally, at 5GB total system memory consumption, either the OS kicks in or some major swapping starts to occur – I'm not sure which of the two is happening exactly but you can see it when the green CPU marker gets overtaken by the red one.

As I have a large number of extensions installed, I was dreading the next step: disabling them until the culprit was found. Ugh…

Sure enough, after about half an hour of starting Firefox, observing the memory leak, killing, and restarting it, I narrowed it down to the Skype extension. Somebody at Skype needs to fess up. And here's the kicker – it only exposes the memory leak in the following configuration:

image

If you turn number highlighting on – it's fine. If you turn name highlighting off – it's fine. But if you turn number highlighting off but leave name highlighting on – major fail.

The Conclusion

So where am I going with all this? Here is the summary:

  • somebody at Skype doesn't know how to program
  • this is the worst memory leak in a Firefox extension I've ever seen
  • this extension is notorious for its crashes, bugs, and memory leaks
  • keep using this extension if you're
    • a masochist
    • need to perform burn-in tests for your CPU or RAM

Have you had problems with the Skype extension? If so, share in the comments.

● ● ●

Artem Russakovskii is a San Francisco programmer, blogger, and future millionaire (that last part is in the works). Follow Artem on Twitter (@ArtemR) or subscribe to the RSS feed.

In the meantime, if you found this article useful, feel free to buy me a cup of coffee below.



Share
  • http://www.skype.com Peter Kalmström

    Hi Artem,
    Thank you for your feedback! We are continually improving the extension and it is getting better with each release, but as you forcefully point out, there are still problems!
    We especially appreciate your discovery of only having the name recognition enabled causing memory leaks.
    I am the person responsible for these issues and I apologize for the trouble we have caused you. We will make amends and improve!

    Best regards
    Peter Kalmström, PM Skype Toolbars

  • http://beerpla.net Artem Russakovskii

    Thanks for the quick feedback, Peter. How did you find this post so quickly?

    Were you able to verify the issue?

  • http://share.skype.com/sites/en/ Peter Parkes (Skype Blogger)

    Hi there – I’m another Peter at Skype, and one of my jobs is to keep eyes and ears open in the blogosphere to make sure that we’re aware of what people are saying about our products.

    Feedback is very important to us (whether positive or negative) and I pass blog posts of interest on to the relevant teams here, so that they can incorporate the feedback into our product development.

    You can find out a bit more about the way we work on the Skype blog. I’m sure Peter will get back to you with a response shortly – and please give either of us a shout if you have any more questions.

  • http://www.skype.com Peter Kalmström

    Hi again Artem,
    Both our QA team and our developers have read your post. We take it seriously and will make sure to let you and your readers know as soon as we have a new version with a fix available!

  • http://thirdworldgeek.com/ free blogger templates

    Hi – I also have a problem when doing this., so this is why i get a warning of multitasking.. This is really a cowshit.

  • http://twispe.com leroy

    If I use the extension, firefox fails. They need a programmer. And some quality control.

  • drlysko

    thank you, been looking for the mem bleading for a while. u nailed it tks again

  • skype

    merci pur l 'article