Eclipse editor runs slow on Ubuntu 16.04 after first project build
<p>I've recently installed Ubuntu (16.04) I've noticed that after the first build of a project on Eclipse (I've tried this with Luna and Mars) that the editor starts to run slow.  There is a noticeable lag when typing and selecting text etc.  It doesn't make it unusable, but it is fairly irritating.  I've done the following to try and fix this, but to no avail:</p>

<ul>
<li>allocate more memory in <code>eclipse.ini</code></li>
<li>set the environment variable <code>$SWT_GTK3=0</code> (as I found something that said there may be a gtk3 bug in 16.04.</li>
<li>update graphics drivers</li>
</ul>

<p>At this point I'm really not sure what else to do.  It seems to run well at first, but after that first build (Java) it just dies a bit.  Any suggestions on what I could do to try and fix this would be much appreciated!</p>

<p>It's the first time I've used Eclipse with Ubuntu, as normally I'm on a Windows machine, so I'm not sure if maybe I've just not set something up properly.</p>