Home » Development » Currently Reading:

Top 5 IntelliJ IDEA Performance Tips

December 20, 2009 Development 1 Comment

We use JetBrains IntelliJ IDEA Java IDE and love its features, functionality, and price point. Dealing with its performance is another matter, however. When developing Seam 2.x applications, IDEA can just crawl – and this is when sticking to just one project or SVN branch at a time. Some of the biggest performance hits our team has noticed are:

  1. File indexing on IDEA startup
  2. Long code completion times when editing XHTML/JSF files
  3. Pauses when switching from one Java or XHTML file to another
  4. Calls to Ant targets can drag on forever for no apparent reason while others time they are tidy and fast

Here is a collection of ideas on how to improve the performance of IDEA; note that not all of these will be applicable to your environment or application.  For example, we wouldn’t consider turning off local history options as this is invaluable.

  1. If you’re not using Subversion or other version control system, turn off synchronized files. This can be disabled from the Settings -> General, and disabling “Synchronize Files on Frame Activation”.
  2. Revert to IDEA’s original visual interface. Browse to Settings -> Appearance and select the “IDEA 4.5 Default” theme.
  3. Decrease the size of local history of code changes. Even if you find this feature invaluable, you can still improve performance of IDEA by reducing the number of days of local history IDEA will store.  By default this option is set to three days!
  4. Disable unused plugins. You mean you’re not developing GWT apps and you’re not working with JetGroovy?  Great, then why not disable some of those plugins?
  5. Increase the IDEA Java VM heap size. I can attest to this offering much improved performance; if you can spare the memory, follow these directions:
    1. locate your Program Files/JetBrains/IDEA x.x/bin directory
    2. open idea.exe.vmoptions
    3. modify Xms, Xmx, and XX:MaxPermSize settings as needed
Share:
  • Digg
  • del.icio.us
  • Facebook
  • Google Bookmarks
  • DZone
  • Reddit
  • StumbleUpon
  • Slashdot
  • Tumblr
  • Yahoo! Buzz

Currently there is "1 comment" on this Article:

  1. SMiGL says:

    Thanks. Helpful post.

Comment on this Article:







Featured Geek Stuff

Seam Recipes [Part 1]: s:decorate

September 21, 2009

Seam Recipes [Part 1]: s:decorate

As a developer, forms are one of my biggest grievances whenever I am building a Web application. Why? Well, for one, there is nothing pretty about creating a form. Even the best Web designers, with all of their fancy CSS wizardy, struggle to build clean, consistent, and reusable form layers that can be used anywhere within an application. To complicate matters, nothing in the HTML 4 spec (though, this will change with HTML 5) provide any sort of functionality around form elements.

A Trip Down LucasArts Memory Lane; or, the Game That Started It All

September 11, 2009

A Trip Down LucasArts Memory Lane; or, the Game That Started It All

Today I consider myself a computer techie; I’m a developer by trade, a “technologist” in my free time, and a gamer at heart.
All of that had to start somewhere, right?  Well, for me, it did when, at the age of 13, my father came home talking about a PC game he saw at our [...]

First Impressions: PS3 Slim

September 10, 2009

First Impressions: PS3 Slim

Sony recently announced the long rumored Playstation 3 Slim at the GamesCom conference in Germany, as well as a (much needed) price drop to $299. The new PS3 Slim has gotten rid of the shiny, fingerprint laden exterior and replaced it with a matte black casing, removed the Spiderman 3 font, changed the power button, [...]

WoW: The B Squad

September 10, 2009

WoW: The B Squad

I recently came across an article on Elder Game regarding World of Warcraft and how many of Blizzard’s employees had shifted onto new projects (Starcraft 2, Diablo 3, Unannounced MMO), while a newer and less experienced team was handling the current live content for WoW (dubbed the B Squad). Being a longtime (and current) player [...]

Seam Framework – Top Resources for Developers

September 8, 2009

Seam Framework – Top Resources for Developers

At my company, we have been using the Seam Framework for over two years to develop large-scale Java EE applications for our customers. It has been a rough ride at times but I firmly believe Seam requires every Java developer’s close look; even if you must ultimately choose one of the other numerous Java [...]

RSS Twitter: geeklisted

Look Who\'s Talking

  • vin: i agree they are not responding to me either. first time i h...
  • admin: @Steve: Absolutely; I'd be prepared to give the beta a whirl...
  • steve: Noticed the point about transactional not working with ehcac...
  • admin: Thanks for your post and you make a very good point; I need ...
  • steve: Great blog though I'm somewhat curious why you used such an ...