You are not logged in.

#1 2014-03-01 01:28:04

thewooster
Member
Registered: 2012-10-20
Posts: 57

Eclipse Slow/Laggy

Hi, I have searched through quite a few different forums trying to solve this, but eclipse is still giving me problems.  It is way too slow, especially when switching between tabs.  I have tried some optimizations, that have helped a little bit, but it is still pretty bad.


Java -version:

java version "1.7.0_51"
Java(TM) SE Runtime Environment (build 1.7.0_51-b13)
Java HotSpot(TM) 64-Bit Server VM (build 24.51-b03, mixed mode)

Eclipse.ini (I have tried various settings for "Xms/Xmx":

-startup
plugins/org.eclipse.equinox.launcher_1.3.0.v20130327-1440.jar
--launcher.library
plugins/org.eclipse.equinox.launcher.gtk.linux.x86_64_1.1.200.v20130807-1835
-showsplash
org.eclipse.platform
--launcher.XXMaxPermSize
256m
--launcher.defaultAction
openFile
--launcher.appendVmargs
-vmargs
-Xms1024m
-Xmx1024m

-Xverify:none
~

Anything else I can do to fix this?  Thanks!

Offline

#2 2014-03-01 09:06:31

Kartious
Member
From: UK
Registered: 2013-03-23
Posts: 311

Re: Eclipse Slow/Laggy

I have never had problems with eclipse On arch and this is on a crappy  5 year old RM laptop as well. Where did you download java from as well ? Are you even using an arch system?

Offline

#3 2014-03-01 14:56:35

thewooster
Member
Registered: 2012-10-20
Posts: 57

Re: Eclipse Slow/Laggy

Kartious, yep, using a clean install of the latest Arch build.  Everything is updated.  I installed both Eclipse and Java(Oracle Jdk) from the Aur using Yaourt.  Incidentally I also installed Netbeans for testing, and it ran perfectly fine and lighting fast by comparison.  Not quite sure what is going on.

Offline

#4 2014-03-01 16:02:47

Kartious
Member
From: UK
Registered: 2013-03-23
Posts: 311

Re: Eclipse Slow/Laggy

Any reason why you installed Eclipse from the AUR ? As there is  a release in the Official Repos. How come do you use a repo tool and not manually build the AUR packages ? Link me the exact packages you installed?

To be honest I would prefered it if you searched for a package that allowed you to achieve your needs from the Official Repos.

Last edited by Kartious (2014-03-01 16:03:13)

Offline

#5 2014-03-01 17:23:29

thewooster
Member
Registered: 2012-10-20
Posts: 57

Re: Eclipse Slow/Laggy

Sorry, my mistake. I acquired Java from the AUR, but I got Eclipse from the Official Repos (Just standard, not Eclipse from AUR for java).

Most of the time I do try to go through the official repos, but if I understand it correctly, Oracle's Java is only available through the AUR.  I did some searching, and saw that some people recommended using Oracle's java to speed up Eclipse.  Thought I would give it a try.  So far no huge difference though.

As to building with a repo tool, I just find it easier sometimes, I do manually build packages sometimes though.  Any reason to manually build over using a repo tool?

*Edit*
I am also using the MoonRise UI.  Here is a list of plugins I have.  I also tried downloading just a base version from [Eclipse and running without plugins, and with the classic theme.  It made small difference, but not significant. 

  Android DDMS	22.3.0.v201310242005-887826	com.android.ide.eclipse.ddms.feature.group	The Android Open Source Project
  Android Development Tools	22.3.0.v201310242005-887826	com.android.ide.eclipse.adt.feature.group	The Android Open Source Project
  Android Hierarchy Viewer	22.3.0.v201310242005-887826	com.android.ide.eclipse.hierarchyviewer.feature.group	The Android Open Source Project
  Android Native Development Tools	22.3.0.v201310242005-887826	com.android.ide.eclipse.ndk.feature.group	The Android Open Source Project
  Android Traceview	22.3.0.v201310242005-887826	com.android.ide.eclipse.traceview.feature.group	The Android Open Source Project
  Command Line Interface for Java implementation of Git	3.2.0.201312181205-r	org.eclipse.jgit.pgm.feature.group	Eclipse JGit
  Command Line Interface for Java implementation of Git - Source Code	3.2.0.201312181205-r	org.eclipse.jgit.pgm.source.feature.group	Eclipse JGit
  Eclipse Color Theme	0.13.0.201311210852	com.github.eclipsecolortheme.feature.feature.group	GitHub
  Eclipse Git Team Provider	3.2.0.201312181205-r	org.eclipse.egit.feature.group	Eclipse EGit
  Eclipse Git Team Provider - Source Code	3.2.0.201312181205-r	org.eclipse.egit.source.feature.group	Eclipse EGit
  Eclipse Moonrise UI Theme	0.8.8.201402142100	com.github.eclipseuitheme.themes.feature.feature.group	Andrea Guarinoni
  Eclipse SDK	4.3.1.M20130911-1000	org.eclipse.sdk.ide	null
  Java implementation of Git	3.2.0.201312181205-r	org.eclipse.jgit.feature.group	Eclipse JGit
  Java implementation of Git - optional Java 7 libraries	3.2.0.201312181205-r	org.eclipse.jgit.java7.feature.group	Eclipse JGit
  Java implementation of Git - Source Code	3.2.0.201312181205-r	org.eclipse.jgit.source.feature.group	Eclipse JGit
  Jeeeyul's PDE-Tools	1.2.0	net.jeeeyul.pdetools.feature.feature.group	jeeeyul@gmail.com
  Jeeeyul's Themes	1.7.10	net.jeeeyul.eclipse.themes.feature.feature.group	Jeeeyul@gmail.com
  m2e dynamic source code lookup	1.1.0.201402131627	com.ifedorenko.m2e.sourcelookup.feature.feature.group	Igor Fedorenko
  PyDev for Eclipse	3.3.3.201401272249	org.python.pydev.feature.feature.group	Aptana
  SWTend	1.2.2	net.jeeeyul.swtend.feature.feature.group	jeeeyul@gmail.com
  Task focused interface for Eclipse Git Team Provider	3.2.0.201312181205-r	org.eclipse.egit.mylyn.feature.group	Eclipse EGit
  Tracer for OpenGL ES	22.3.0.v201310242005-887826	com.android.ide.eclipse.gldebugger.feature.group	The Android Open Source Project
  Vrapper	0.40.0	net.sourceforge.vrapper.feature.group	Vrapper Team
  Vrapper - argtextobj.vim Plugin (Optional)	0.40.0	net.sourceforge.vrapper.plugin.argtextobj.feature.group	Vrapper Team
  Vrapper - C/C++ Extensions (Optional, requires CDT)	0.40.0	net.sourceforge.vrapper.eclipse.cdt.feature.feature.group	Vrapper Team
  Vrapper - Clang-Format Plugin (Optional)	0.40.0	net.sourceforge.vrapper.plugin.clangformat.feature.group	Vrapper Team
  Vrapper - ipmotion.vim Plugin (Optional)	0.40.0	net.sourceforge.vrapper.plugin.ipmotion.feature.group	Vrapper Team
  Vrapper - Java Extensions (Optional, requires JDT)	0.40.0	net.sourceforge.vrapper.eclipse.jdt.feature.feature.group	Vrapper Team
  Vrapper - methodtextobj.vim Plugin (Optional)	0.40.0	net.sourceforge.vrapper.plugin.methodtextobj.feature.group	Vrapper Team
  Vrapper - Python Extensions (Optional, requires PyDev)	0.40.0	net.sourceforge.vrapper.eclipse.pydev.feature.feature.group	Vrapper Team
  Vrapper - Split Editor Plugin (Optional, requires Eclipse 4+)	0.40.0	net.sourceforge.vrapper.plugin.splitEditor.feature.group	Vrapper Team
  Vrapper - Surround.vim Plugin (Optional)	0.40.0	net.sourceforge.vrapper.plugin.surround.feature.group	Vrapper Team

I then tried removing my workbench.xmi, and re-installing Eclipse.  It seems a little bit less laggy now, but still more than I would like.

Last edited by thewooster (2014-03-01 17:35:49)

Offline

#6 2014-03-01 21:53:12

thiagowfx
Member
Registered: 2013-07-09
Posts: 586

Re: Eclipse Slow/Laggy

Once I had a problem with Netbeans, then came across this export setting which solved it:

export _JAVA_OPTIONS='-Dawt.useSystemAAFontSettings=on -Dswing.aatext=true -Dswing.defaultlaf=com.sun.java.swing.plaf.gtk.GTKLookAndFeel'

Try to launch Eclipse with it. I am not sure if this will even make *any* difference, but it won't hurt if you try. Also, try to search for other java options, maybe your problem may be solved with just a simple setting.

Offline

Board footer

Powered by FluxBB