Performance Problem With IDEA

This is a discussion on Performance Problem With IDEA within the J2EE forums in Framework and Interface Programming category; I'm running IDEA Early Access build 7718 on Windows XP SP 2. My machine has dual core Intel 1.83GHZ CPUs and 4.0GB RAM. Lately I'm finding that IntelliJ is terribly unresponsive when refreshing the UI. I click a button - and wait. If I look at my Windows task manager I can see a spike of CPU, with 50% going to IDEA. I would say my hardware is pretty robust. That's a lot of RAM. My JVM settings are: -Xms128m -Xmx256m -XX:MaxPermSize=128m -ea -agentlib:yjpagent=disablej2ee,sessionname=IntelliJ IDEA Are my settings bad? Please advise. Thanks. - %...

Go Back   Application Development Forum > Framework and Interface Programming > J2EE

Object Mix

Register FAQ Calendar Search Today's Posts Mark Forums Read
  #1  
Old 03-03-2008, 10:22 AM
Michael O. Duffy
Guest
 
Default Performance Problem With IDEA

I'm running IDEA Early Access build 7718 on Windows XP SP 2. My machine has dual core Intel 1.83GHZ CPUs and 4.0GB RAM.

Lately I'm finding that IntelliJ is terribly unresponsive when refreshing the UI. I click a button - and wait. If I look at my Windows task manager I can see a spike of CPU, with 50% going to IDEA.

I would say my hardware is pretty robust. That's a lot of RAM. My JVM settings are:

-Xms128m
-Xmx256m
-XX:MaxPermSize=128m
-ea
-agentlib:yjpagent=disablej2ee,sessionname=IntelliJ IDEA

Are my settings bad? Please advise. Thanks. - %
Reply With Quote
  #2  
Old 03-03-2008, 10:24 AM
Dmitry Jemerov
Guest
 
Default Re: Performance Problem With IDEA

Hello Michael,

Please take a CPU snapshot as described in http://support.jetbrains.com/kb/entr...earchPage=true

> I'm running IDEA Early Access build 7718 on Windows XP SP 2. My
> machine has dual core Intel 1.83GHZ CPUs and 4.0GB RAM.
>
> Lately I'm finding that IntelliJ is terribly unresponsive when
> refreshing the UI. I click a button - and wait. If I look at my
> Windows task manager I can see a spike of CPU, with 50% going to IDEA.
>
> I would say my hardware is pretty robust. That's a lot of RAM. My
> JVM settings are:
>
> -Xms128m
> -Xmx256m
> -XX:MaxPermSize=128m
> -ea
> -agentlib:yjpagent=disablej2ee,sessionname=IntelliJ IDEA
> Are my settings bad? Please advise. Thanks. - %
>

--
Dmitry Jemerov
Development Lead
JetBrains, Inc.
http://www.jetbrains.com/
"Develop with Pleasure!"


Reply With Quote
  #3  
Old 03-03-2008, 11:51 AM
Michael O. Duffy
Guest
 
Default Re: Performance Problem With IDEA

Hi Dmitry,

Thanks for responding so quickly, as always.

I got a CPU snapshot, as you requested, but after FTPing it to your server I'm not seeing any file in the /.uploads directory.

Slow response happened in two difference scenarios this morning.

The first was using the DB Helper plug-in. I was connected to an Oracle data source and trying to filter tables by schema name. That took a minute or two to return once I hit the "OK" button. In that case, I'd imagine that it has to do with connecting to Oracle and applying the filter. The SID I'm connecting two has many schemas associated with it, so perhaps that's taking a long time.

The second, more troubling, situation occurs when I have IJ open with other applications, like the browser. If I bring IJ back to the fore, I can see the top bar of the window switch to IJ, but the rest of the display takes a great deal of time to refresh.

I have 6 apps open right now, including IJ. If I look in the Windows Manager, it tells me that IJ currently has 239,444 KB under "Mem Usage".

Could just be me and my usage. Sorry I'm not more informative.

%
Reply With Quote
  #4  
Old 03-04-2008, 05:23 PM
Simon Knott
Guest
 
Default Re: Performance Problem With IDEA

Is there any reason you're allocating a maximum of 256MB of heap size to IDEA? With 4GB of RAM available, I'd crank the Xmx setting up a lot higher!
Reply With Quote
  #5  
Old 03-06-2008, 01:33 PM
Michael O. Duffy
Guest
 
Default Re: Performance Problem With IDEA

I often have WebLogic and other apps running on my desktop, so I'm trying not to be greedy. I can have several IDEA projects open at the same time, too.

I have had it higher in the past, but I'd still have problems from time to time.

%
Reply With Quote
  #6  
Old 03-06-2008, 01:56 PM
Michael O. Duffy
Guest
 
Default Re: Performance Problem With IDEA

More data - I'm not sure how helpful.

I increased my memory settings after downloading 7.0.3 (thank you):

-Xms128m
-Xmx256m
-XX:MaxPermSize=128m
-ea
-agentlib:yjpagent=disablej2ee,sessionname=IntelliJ IDEA

When I start IJ up again, I see the memory climbing right away.

I've been trying to use DB Helper to look at an Oracle database. When I try to connect or set a table filter the app freezes.

I started JVMStat so I could see what was happening. The perm space is slightly greater than half full, and the eden space grows linearly.

I'm not sure what is happening, but I think I'm going to stop using DB Helper for a while. Time to fire up another DB client outside of IJ. Thanks. - %
Reply With Quote
  #7  
Old 03-12-2008, 05:10 AM
Jeroen Wenting
Guest
 
Default Re: Performance Problem With IDEA

Seems extremely low if you have a reasonably large project.

I usually keep it at Xms 512, Xmx 1024, and permgen 256

That should be enough for projects with thousands of classes and thousands more xml, html, jsp, etc. files.
Reply With Quote
  #8  
Old 04-10-2008, 10:31 AM
Gavin
Guest
 
Default Re: Performance Problem With IDEA

That's a pretty high setting, especially if you have to run Weblogic and other apps like TOAD etc. And let's not forget Outlook email
Reply With Quote
Reply


Thread Tools
Display Modes


All times are GMT -5. The time now is 04:47 PM.


Powered by vBulletin® Version 3.7.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0
vB Ad Management by =RedTyger=

In an effort to better serve ads to our visitors, cookies are used on objectmix.com. For more information, check out our Privacy Policy.