Skip to main content

NetBeans 6RC1 has serious performance issues on Ubuntu 7.10

I've been running Ubuntu 7.10 on europa, with basic 3D hardware acceleration via the native ATI drivers and some of the eye candy turned on. I have been pleased with just about everything except where noted.

I decided to install the latest NetBeans 6 release, RC1. I downloaded it and installed it, and then fired 'er up. The first thing I noticed was the performance. It is, in a word, abysmal. It starts up slow and it runs slow. And I do mean slow. Up to this point developer releases of NetBeans 6 have not had such drastic performance slowdowns. And this performance slowdown is only observable on Ubuntu 7.10. NetBeans 6RC1 runs just fine on Windows XP SP2.

The problem presented an interesting opportunity to compare NetBeans 6 RC1 with the version available on Ubuntu via Synaptic, NetBeans 5.5.1. Using Synaptic I found and installed that (current) version of NetBeans and started it up. The screen shot shows both running on the desktop. Version 6 RC1 is on top and version 5.5.1 is running in the back. In order to level the playing field I added a configuration switch to netbeans.conf: --laf javax.swing.plaf.metal.MetalLookAndFeel


With both IDEs using the Metal Look-and-Feel, NetBeans 5.5.1 ran rings around NetBeans 6RC1. I have no idea why. In the mean time I'm going to use the NetBeans IDE provided by Ubuntu, along with the Ubuntu provided version of Java, Java 6 Update 3. Talk about a nice combination.

One other observation. The latest version of Eclipse, 3.3.1.1, has no performance issues either, and that version I downloaded and installed from the Eclipse site.

Update Nov 21 2007

Please see my update post about how RC1's performance was corrected.

Comments

  1. On my laptop (XP SP2, 2GB , Core Duo 2GHz) Netbeans 6.0 rc1 runs comparably slow too. But "Open Porject" menu hangs the IDE just badly ;( It's take MINUTES to open an "Open Project" dialog.

    ReplyDelete
  2. svlasov, please make sure you don't have big zip files in your 'Desktop' folder. There is a bug in the recent updates of JDK 6 that may cause the problem with the file chooser hanging the IDE. For more details see bug #109703.

    ReplyDelete
  3. I solved this issue ( its actually problem with GTK ): I changed GTK look and feel to java default.

    This is what my netbeans.conf file looks like:


    netbeans_default_options="-J-Dorg.netbeans.modules.tomcat.autoregister.token=1207660355440
    -J-Dorg.netbeans.modules.tomcat.autoregister.catalinaHome=\"/home/msenesi/apache-tomcat-6.0.14\"
    -J-Dcom.sun.aas.installRoot=\"/home/msenesi/glassfish-v2ur1\"
    -J-client -J-Xss2m -J-Xms64m -J-Xmx512m -J-XX:PermSize=32m -J-XX:MaxPermSize=200m
    -J-Xverify:none -J-Dapple.laf.useScreenMenuBar=true
    --laf javax.swing.plaf.metal.MetalLookAndFeel --fontsize 14 -J-Dswing.aatext=true
    -J-Dswing.metalTheme=steel -J-Dswing.plaf.metal.controlFont=Dialog-plain-14"

    Source: http://www.netbeans.org/kb/articles/netbeans-hacks-2.html#laf

    ReplyDelete

Post a Comment

All comments are checked. Comment SPAM will be blocked and deleted.

Popular posts from this blog

cat-in-a-box channels greta garbo

So I'm sitting at my computer, when I start to notice a racket in back. I ignore it for a while until I hear a load "thump!", as if something had been dropped on the floor, followed by a lot of loud rattling. I turn around and see Lucy in the box just having a grand old time, rolling around and rattling that box a good one. I grab the GX1 and snap a few shots before she notices me and the camera, then leaps out and back into her chair (which used to be my chair before she decided it was her chair).

Just like caring for Katie my black Lab taught me about dogs, caring for Lucy is teaching me about cats. She finds me fascinating, as I do her. And she expresses great affection and love toward me without coaxing. I try to return the affection and love, but she is a cat, and she takes a bat at me on occasion, although I think that's just her being playful. She always has her claws in when she does that.

She sits next to me during the evening in her chair while I sit in mi…

vm networking problem fixed

Over the weekend I upgraded to Windows 8.1, then discovered that networking for the virtual machines wouldn't work. Then I tried something incredibly simple and fixed the problem.

Checking the system I noticed that three VMware Windows services weren't running; VMnetDHCP, VMUSBArbService, and VMwareNatService. VMware Player allows you to install, remove, or fix an existing installation. I chose to try fixing the installation, and that fixed the problem. The services were re-installed/restarted, and the virtual machines had networking again.

Once network connectivity was established there was exactly one updated file for Ubuntu 13.10, a data file. This underscores how solid and finished the release was this time. Every other version of every other Linux installation I've ever dealt with has always been succeeded by boatloads of updates after the initial installation. But not this time.

Everything is working properly on my notebook. All's right with the world.

sony's pivotal mirrorless move

I'm a died-in-the-wool technologist, even when it comes to photography. I have always been fascinated with the technology that goes into manufacturing any camera, from the lenses (optics) through the mechanical construction, the electronics involved, and especially the chemistry of the film and the sophistication of the digital sensor. It's amazing that the camera can do all it's asked of it, regardless of manufacturer.

Of all the types of cameras that I've really taken an interest in, contemporary mirrorless (again, regardless of manufacturer) are the most interesting because of the challenging problems the scientists and engineers have had to solve in order to build a compact but highly functional camera. In particular I've followed the sensor advances over the years and watched image quality climb (especially with μ4:3rds) to exceed film and rival one another such that there's very little difference any more as you move from the smaller sensors such as 4:3r…