Related Entries

Useful SQL*Plus headers
Dino eats frog
Oracle with Active Record
When is he free?
Gentle dive into analytic functions

« JDeveloper for WS client development
» JDeveloper 10g - Look and Feel

JDeveloper 10g - lighter!

An accident happened. Made things faster. Don't know if it is reproducible in other machines.

Ever since I started playing with 10g, one issue has bothered me quite a bit. I run out of RAM if use JDeveloper _and_ Oracle 9i on my laptop, at the same time. For a while, I solved the issue by using MySQL as the database, but that is not what I wanted to do for serious business application development. Andrej Koelewijn has been exploring ways to reduce Oracle instance a smaller and lighter.

In any case, I shelled out $100 to get 512MB RAM. Now my laptop has 768 MB and Oracle and JDeveloper works without a hitch.

Then, I think I fluked upon a little tweak.

First, I went to Preferences and changed Undo levels from default 500 to 10. Works for me, because for serious editing, I still use VIM before I paste it back to JDeveloper (or pretty much any other IDE - old habits die hard).

By accident, I closed the outline dock. Suddenly, things seemed to run faster. I experimented 3-4 times. Note that I have not tried this on Linux.

My default JDeveloper used up 160-180MB RAM; when I had 5 Java files and one build.xml open - relatively small files from the Google API example. I’ve one open connection to a local Oracle instance and one open connection to a local standalone OC4J instance.

With these changes, JDeveloper takes up 120MB. During re-build, it rises to around 130MB - it falls back after build is completed. In fact, when it starts up, it only takes around 113MB. With no files open, it used to start up consuming about 145MB before.

Screen redraw for menu items also speeds up quite a bit - this might be because I’ve shared Video RAM.

I need to check this out on another machine - may be next week. Weird, but I am happy :-) Outline mode is not that important to me, because VIM’s folding mode is good enough.

  1. You can also go into Extension Manager ( Tools > Preferences > Extension Manager ) and turn off the ones you aren't using, or just change your profile (there's like 2 or 3 defaults).

    That can speed up things a bit too.

    Rob

    Posted by: Rob on October 1, 2003 01:59 AM
  2. You bet! I turned off ALL and jDev now uses only 55MB :-) Enabled things I needed and it takes up a respectable 80MB.

    Thanks.

    Posted by: Babu on October 2, 2003 06:00 PM
//-->