Article View: borland.public.jbuilder.java.swing
Article #1571Re: Performance Rant!!
From: Tad Frysinger
Date: Mon, 13 Oct 2003 15:24
Date: Mon, 13 Oct 2003 15:24
59 lines
3855 bytes
3855 bytes
I have found that (particularly with versions after 7) I up the memory allowed for JBuilder. Exit JBuilder. Go the bin directory where you installed it, and open the jbuilder.config file. Look for these lines: vmparam -Xms32m vmparam -Xmx256m I just pulled that out of my JBuilder 9 file (I think by default it sets the max to 128). Also, I haven't used less than a 1 Ghz processor for a while, and I make sure I have at least 512MB of ram in the box (current one has 1Gb). This setup makes it workable, although I do notice slight delays from time to time. There are also garbage collection tweaks you can do to hotspot that change the algorithm by which it garbage collects. You can modify these by going to the jdk.config file. Here is the default: # Use the embedded JDK provided with JBuilder and # override the default heap growth / shrinkage rates javapath ../jdk1.4/jre/bin/client/jvm.dll vmparam -Xminf0.2 vmparam -Xmaxf0.2 There are lots of other options that can help you tune the VM for performance, located here: (http://java.sun.com/docs/hotspot/VMOptions.html) Finally, you can try modifying jdk.config to point to a faster version of the JDK (like 1.4.2), although this isn't sanctioned or supported. Tad Frysinger [TeamB] Linus wrote: > Let me start off by saying that I've always really liked Borland products (I > never like Symantec) -- but is it just me or does anyone else running > JBuilder with BAS4.5 wish they could go out and buy a 50GHz machine just so > JBuilder runs as fast as any typical native Windows app of today ? > > For cryin' out loud, why build the GUI in Java, write the damn thing in C++ > and Assembler instead, and I guarantee that no one will ever buy a > competitors's Java IDE, at least not for the foreseeable future. Showcase > java at what it's good at, EJB, network apps, etc, but don't build GUI's > like this in Java any more!! > > Assuming, the aforementioned suggestion is ignored, is there any way to make > speed up JBuilder - maybe make it a little more responsive? I like the > product big time, but I think Swing could stand an optimization or > two...it's sickening to be able to see every little screen repaint in clear > detail (or having to wait 4 seconds after a mouse click for something to > happen) while right next to it, similar IDE's systems like Visual C++ are > just smokin' along-side it > > > > >
Technical Details
Message-ID:
<3F8AC393.1050701@earthlink.net>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news.maxwell.syr.edu!newsfeed-west.nntpserver.com!hub1.meganetnews.com!newsfeed-east.nntpserver.com!nntpserver.com!news-west.rr.com!news.rr.com!news-out.superfeed.net!propagator2-maxim!news-in.superfeed.net!newsfeed01.tsnz.net!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mailReferences:
<3ac80369$1_1@dnews>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 111d45,19995dc8908360fd,start X-Google-Attributes: gid111d45,public X-Google-Thread: 101c4c,19995dc8908360fd,start X-Google-Attributes: gid101c4c,public X-Google-Thread: 10b2dd,19995dc8908360fd,start X-Google-Attributes: gid10b2dd,public X-Google-ArrivalTime: 2003-10-13 08:31:47 PST Message-ID: <3F8AC393.1050701@earthlink.net> Date: Mon, 13 Oct 2003 09:24:03 -0600 From: Tad Frysinger <tfrysinger@earthlink.net> User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.0.2) Gecko/20030208 Netscape/7.02 X-Accept-Language: en-us, en MIME-Version: 1.0 Newsgroups: borland.public.jbuilder.java.swing,borland.public.jbuilder.javabeans.using,borland.public.jbuilder.javabeans.writing Subject: Re: Performance Rant!! References: <3ac80369$1_1@dnews> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit NNTP-Posting-Host: 206.61.185.113 X-Trace: newsgroups.borland.com 1066058652 206.61.185.113 (13 Oct 2003 08:24:12 -0700) Lines: 60 Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news.maxwell.syr.edu!newsfeed-west.nntpserver.com!hub1.meganetnews.com!newsfeed-east.nntpserver.com!nntpserver.com!news-west.rr.com!news.rr.com!news-out.superfeed.net!propagator2-maxim!news-in.superfeed.net!newsfeed01.tsnz.net!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail