June 22, 2010

Eclipse PyDev slow start-up times

Eclipse PyDev slow start-up times

I just realized today that the 5-10 minute delay in starting up of Eclipse matches exactly with a same spike in my internet usage! What the hell is going on here?

I started noticing the delay in Eclipse after I installed the PyDev plugin. I haven’t really looked into the reason for the delay, and it might have nothing to do with PyDev, but that sure would be a hell of a coincidence.

I wonder what data is being sent/received which causes this. I wonder if Eclipse is sending over keyboard shortcut usage statistics to the server – although I remember switching that feature off.

Mysterious. And suspicious!

Update: Since then I’ve had several other installations (and re-installations) of PyDev on the same and other machines and I haven’t been able to reproduce the problem. It looks like PyDev was not to blame after all. I’m still not sure what caused the problem originally. Maybe it was some other rogue Eclipse plugin. Or just something messed up with my workstation’s settings. I’ll never know…

Comments (3)

  1. June 23, 2010
    Anonymous said...

    I’ve passed this on to the pydev maintainer. Pydev does send a ping when it starts up, but it is a tiny amount of data (under .5KB IIRC), so if it is in fact this ping that causes the delay, it must be because of some DNS lookup issue. And the ping should be happening in a separate thread, so it shouldn’t be causing any delay at all.

  2. June 23, 2010
    fabioz said...

    Hi there… One of the possibilities is that Pydev does spawn a shell locally and eclipse communicates to that spawned shell asking for completions, so, maybe it’s looping there for some reason and asking more than it should (but that communication would not go outside of your machine).

    I’m unable to reproduce it here, but if you’re OK with it, please create a bug-report with that, following the instructions at http://pydev.org/faq.html#how_do_i_report_a_bug (with error log, etc), so that we can work on solving that.

  3. December 30, 2010
    Muhammad Ali said...

    Thanks for the responses guys. I’ve updated my entry above. I haven’t been able to reproduce the problem on re-installs of PyDev. So I’m not sure what was causing the original problem, but it looks like I was too quick to jump to blame PyDev. My bad.

    Also, I never got round to filing the bug report. But thanks for the quick responses. Its good to know that others are working on improving the tools that I use everyday 🙂

Leave a Reply