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=IntelliJIDEA

Are my settings bad? Please advise. Thanks. - %

7 comments
Comment actions Permalink

Hello Michael,

Please take a CPU snapshot as described in http://support.jetbrains.com/kb/entry!default.jspa?categoryID=5&externalID=192&fromSearchPage=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=IntelliJIDEA
Are my settings bad? Please advise. Thanks. - %

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


0
Comment actions Permalink

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.

%

0
Comment actions Permalink

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!

0
Comment actions Permalink

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.

%

0
Comment actions Permalink

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=IntelliJIDEA

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. - %

0
Comment actions Permalink

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.

0
Comment actions Permalink

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 :)

0

Please sign in to leave a comment.