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

A Decade Long Religious Con Job

I rarely write inflammatory (what some might call trolling) titles to a post, but this building you see before you deserves it. I've been seeing this building next to I-4 just east of Altamonte/436 and Crane's Roost for nearly 12 years, and never knew who owned it. Today on a trip up to Lake Mary with my wife I saw it yet again. That's when I told her I wanted to stop by on the way back and poke around the property, and photograph any parts of it if I could.

What I discovered was this still unfinished eighteen story (I counted) white elephant, overgrown with weeds and yet still under slow-motion construction. It looks impressive with its exterior glass curtain walls, but that impression is quickly lost when you see the unfinished lower stories and look inside to the unfinished interior spaces.

A quick check via Google leads to an article written in 2010 by the Orlando Sentinel about the Majesty Tower. Based on what I read in the article it's owned by SuperChannel 55 WA…

first night for the gingersnaps

The first night has passed and the two have managed to survive, in spite of what their tiny hearts might have thought when first arriving. Greebo, the larger of the two, has been in hiding the entire time so far. Ponder has spent the time zipping in and out of hiding spots, checking things out, and learning just how comfortable pillows are for resting your head.

During the night I felt the tiny body of Ponder hitting the bed as he leaped up on the side, and then climbed to the top to run around on top of me. At least once he play-attacked my fingers. He might be small but his claws are still quite sharp.

When I got up in the morning the bowl of cat kitten food was fairly well depleted. It's been refilled and fresh water put in the big dish on the floor. I'm assuming that both Greebo and Ponder are feeding and drinking. I have seen Greebo under the furniture peeking out at me when I went looking for him. I'm leaving him alone while he continues to adjust.

So far the guys h…

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…