You are not logged in.

#1 2014-08-18 06:14:31

spacecutlery
Member
Registered: 2014-08-18
Posts: 1

Eclipse editor extremely slow

Hi guys!

I've been using Arch Linux for a few years now, but this is the first time I've ever asked the community for help.

Basically, I need Eclipse for Android development at uni, but whenever I try to use it, the editor is extremely delayed in responding.

So typing, and clicking anywhere on the editor screen is slow. Everything else seems pretty fine though, such as navigating Preferences, etc.

My system:

- Pretty decent hardware! (Intel i7, 12GB RAM, SSD)
- Up-to-date Arch Linux
- Awesome Window Manager
- Using latest Eclipse from the repo
- Using jdk7-openjdk

I've been trying to figure this out solo, but just can't seem to fix it.

I've tried:

- Reinstalling Eclipse

Just using the version in the Arch repo.

- Disabling plugins & validation.

In Window->Preferences->General->Startup and Shutdown I disabled all of them. This makes startup a lot quicker, but didn't make any difference to the editor.
In Window->Preferences->Validation I disabled the only available validator (XML Validator).

- Modifying /usr/share/eclipse.ini

See this post. Pretty sure it just entails giving it more resources. I tried a variety of values, starting with exactly what was written in that post. I then tried 512m and 1024m.

- Using Oracle JDK instead of OpenJDK

The version I tried was 7 (from AUR). I also restarted afterwards, and then double-checked that Eclipse was using it in Preferences. I've since reinstalled OpenJDK.

- Trying different versions of Eclipse

I first tried 4.4 (the latest stable build), then even tried 3.8 (to verify it wasn't an issue just with newer versions). 3.8 didn't have any of the Android plugins at all, and it was still just as slow.

- Changing AwesomeWM's repeat rate

I followed this, which said to try:

xset r rate 660 30

I also tried a variety of different values, which certainly made a difference in urxvt, but did nothing for Eclipse.


I installed Eclipse with the Android plugins on my Lubuntu laptop (which has terrible specs), and even though the Android emulator was a lot slower, the editor was super responsive!

Any help at all would be really appreciated! Is it possible it's something to do with Awesome?

Thank you so much in advance guys!

Offline

#2 2015-01-09 16:24:43

skratochwil
Member
Registered: 2015-01-09
Posts: 3

Re: Eclipse editor extremely slow

Hey,

I have exactly the same problem. It seems not to be a GTK+ related problem, as this delay does not occur in other GTK+ / GTK3 applications (the Text Widget-demonstrations in gtk-demo and gtk3-demo run flawlessly, too).

Eclipse runs perfect on every other linux distribution - there must be a difference in some configuration, I just can't figure out where.

Does anyone hav any hints, besides those of spacecuterly?

Thanks, guys!!

Offline

Board footer

Powered by FluxBB