Constantly using 3~4% CPU even when minimized

I have been using IntelliJ 10CE for the past week.  I am on a Core 2 Dueo 2.0GHz Macbook, with 4GB of RAM.  I notice that IntelliJ IDEA is constantly using 3 to 4 percent CPU event when it is hiddgen/minimized, and I haven't used it in hours.  Activity Monitor tells me that there is lots of memory left, so it is not swapping.  It is using 47 threads, and is running in 32 bit mode. I have disabled many plugs, that I am unlikely to use.  I am just using Hg for source control, so I don't think it is something to to with a VCS plugin bug.

yeah 3~4% isn't a huge, deal, but nothing else does that (second highest would be netbeans at around 1%), and if I am not doing anything with the code, what is it spending those cycles on?  It eats up laptop battery too.  And yes, Power Save mode, does not change anything, still uses the CPU when idle.

Is this a known problem? Google didn't turn up much.  

Thanks,

~S

0

Hello shea,

Please capture a CPU snapshot as described in http://devnet.jetbrains.net/docs/DOC-192

I have been using IntelliJ 10CE for the past week.  I am on a Core 2
Dueo 2.0GHz Macbook, with 4GB of RAM.  I notice that IntelliJ IDEA is
constantly using 3 to 4 percent CPU event when it is
hiddgen/minimized, and I haven't used it in hours.  Activity Monitor
tells me that there is lots of memory left, so it is not swapping.  It
is using 47 threads, and is running in 32 bit mode. I have disabled
many plugs, that I am unlikely to use.  I am just using Hg for source
control, so I don't think it is something to to with a VCS plugin bug.

yeah 3~4% isn't a huge, deal, but nothing else does that (second
highest would be netbeans at around 1%), and if I am not doing
anything with the code, what is it spending those cycles on?  It eats
up laptop battery too.  And yes, Power Save mode, does not change
anything, still uses the CPU when idle.

Is this a known problem? Google didn't turn up much.


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


0

The instructioins for the CE aren't very good on that link.  I modified the .plist as they state.  I downloaded your kit, uziipped it, then copied the bin/mac/libyjpagent.jnilib file to the bin directory if IDEA.  Then started IDEA, but I don't see the buttons on the tool bar.

~S

0

For the Community edition you will also need yjp-controller-api-redist.jar placed into IDEA_HOME\lib.

0

This is what my toolbar looks like:
Screen shot 2011-03-01 at 4.48.55 PM.png

This the contents of my plist file:

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
 <key>CFBundleDevelopmentRegion</key>
 <string>English</string>
 <key>CFBundleDocumentTypes</key>
 <array>
 <dict>
 <key>CFBundleTypeExtensions</key>
 <array>
 <string>ipr</string>
 </array>
 <key>CFBundleTypeIconFile</key>
 <string>idea.icns</string>
 <key>CFBundleTypeName</key>
 <string>IntelliJ IDEA Project File</string>
 <key>CFBundleTypeRole</key>
 <string>Editor</string>
 </dict>
 </array>
 <key>CFBundleExecutable</key>
 <string>idea</string>
 <key>CFBundleIconFile</key>
 <string>idea.icns</string>
 <key>CFBundleInfoDictionaryVersion</key>
 <string>6.0</string>
 <key>CFBundleName</key>
 <string>IntelliJ IDEA</string>
 <key>CFBundlePackageType</key>
 <string>APPL</string>
 <key>CFBundleIdentifier</key>
 <string>com.jetbrains.intellij</string>
 <key>CFBundleSignature</key>
 <string>????</string>
 <key>CFBundleGetInfoString</key>
 <string>IntelliJ IDEA 10.0.2, build IC-103.72. Copyright JetBrains s.r.o., (c) 2000-2011</string>
 <key>CFBundleShortVersionString</key>
 <string>10.0.2</string>
 <key>CFBundleVersion</key>
 <string>IC-103.72</string>
 <key>LSArchitecturePriority</key>
 <array>
 <string>x86_64</string>
 <string>i386</string>
 </array>
 <key>LSRequiresNativeExecution</key>
 <string>YES</string>
 <key>Java</key>
 <dict>
 <key>ClassPath</key>
 <string>$APP_PACKAGE/lib/bootstrap.jar:$APP_PACKAGE/lib/extensions.jar:$APP_PACKAGE/lib/util.jar:$APP_PACKAGE/lib/jdom.jar:$APP_PACKAGE/lib/log4j.jar</string>
 <key>JVMVersion</key>
 <string>1.6*</string>
 <key>MainClass</key>
 <string>com.intellij.idea.Main</string>
 <key>Properties</key>
 <dict>
 <key>CVS_PASSFILE</key>
 <string>~/.cvspass</string>
 <key>com.apple.mrj.application.live-resize</key>
 <string>false</string>
 <key>idea.config.path</key>
 <string>~/Library/Preferences/IntelliJIdea10CE/</string>
 <key>idea.system.path</key>
 <string>~/Library/Caches/IntelliJIdea10CE/</string>
 <key>idea.plugins.path</key>
 <string>~/Library/Application Support/IntelliJIdea10CE/</string>
 <key>idea.log.path</key>
 <string>~/Library/Logs/IntelliJIdea10CE/</string>
 <key>java.endorsed.dirs</key>
 <string></string>
 <key>idea.smooth.progress</key>
 <string>false</string>
 <key>apple.laf.useScreenMenuBar</key>
 <string>true</string>
 <key>apple.awt.graphics.UseQuartz</key>
 <string>true</string>
 <key>apple.awt.fullscreencapturealldisplays</key>
 <string>false</string>
 </dict>
 <key>VMOptions</key>
 <string>-Xms128m -Xmx512m -XX:MaxPermSize=250m -Xverify:none -XX:+UseCompressedOOPS -Xbootclasspath/a:../lib/boot.jar -ea -agentlib:yjpagent</string>
 <key>WorkingDirectory</key>
 <string>$APP_PACKAGE/bin</string>
 </dict>
</dict>
</plist>



I just copied in the jar file yjp-controller-api-redist.jar, but it did not make a difference.  Here is the directory structure of in IDEA install:

/Applications/IntelliJ IDEA 10 CE.app/
/Applications/IntelliJ IDEA 10 CE.app//bin
/Applications/IntelliJ IDEA 10 CE.app//bin/appletviewer.policy
/Applications/IntelliJ IDEA 10 CE.app//bin/fsnotifier
/Applications/IntelliJ IDEA 10 CE.app//bin/idea.properties
/Applications/IntelliJ IDEA 10 CE.app//bin/idea.sh
/Applications/IntelliJ IDEA 10 CE.app//bin/inspect.sh
/Applications/IntelliJ IDEA 10 CE.app//bin/inspect_diff.sh
/Applications/IntelliJ IDEA 10 CE.app//bin/libquaqua.jnilib
/Applications/IntelliJ IDEA 10 CE.app//bin/libquaqua64.jnilib
/Applications/IntelliJ IDEA 10 CE.app//bin/libyjpagent.jnilib
/Applications/IntelliJ IDEA 10 CE.app//bin/log.xml
/Applications/IntelliJ IDEA 10 CE.app//bin/relaunch
/Applications/IntelliJ IDEA 10 CE.app//build.txt
/Applications/IntelliJ IDEA 10 CE.app//Contents
/Applications/IntelliJ IDEA 10 CE.app//Contents/Info.plist
/Applications/IntelliJ IDEA 10 CE.app//Contents/MacOS
/Applications/IntelliJ IDEA 10 CE.app//Contents/MacOS/idea
/Applications/IntelliJ IDEA 10 CE.app//Contents/MacOS/libyjpagent.jnilib
/Applications/IntelliJ IDEA 10 CE.app//Contents/Resources
/Applications/IntelliJ IDEA 10 CE.app//Contents/Resources/idea.icns
/Applications/IntelliJ IDEA 10 CE.app//lib
/Applications/IntelliJ IDEA 10 CE.app//lib/annotations.jar
/Applications/IntelliJ IDEA 10 CE.app//lib/ant
/Applications/IntelliJ IDEA 10 CE.app//lib/ant/docs.zip
/Applications/IntelliJ IDEA 10 CE.app//lib/ant/fetch.xml
/Applications/IntelliJ IDEA 10 CE.app//lib/ant/get-m2.xml
/Applications/IntelliJ IDEA 10 CE.app//lib/ant/INSTALL
/Applications/IntelliJ IDEA 10 CE.app//lib/ant/KEYS
/Applications/IntelliJ IDEA 10 CE.app//lib/ant/lib
/Applications/IntelliJ IDEA 10 CE.app//lib/ant/lib/ant-antlr.jar
/Applications/IntelliJ IDEA 10 CE.app//lib/ant/lib/ant-antlr.pom
/Applications/IntelliJ IDEA 10 CE.app//lib/ant/lib/ant-apache-bcel.jar
/Applications/IntelliJ IDEA 10 CE.app//lib/ant/lib/ant-apache-bcel.pom
/Applications/IntelliJ IDEA 10 CE.app//lib/ant/lib/ant-apache-bsf.jar
/Applications/IntelliJ IDEA 10 CE.app//lib/ant/lib/ant-apache-bsf.pom
/Applications/IntelliJ IDEA 10 CE.app//lib/ant/lib/ant-apache-log4j.jar
/Applications/IntelliJ IDEA 10 CE.app//lib/ant/lib/ant-apache-log4j.pom
/Applications/IntelliJ IDEA 10 CE.app//lib/ant/lib/ant-apache-oro.jar
/Applications/IntelliJ IDEA 10 CE.app//lib/ant/lib/ant-apache-oro.pom
/Applications/IntelliJ IDEA 10 CE.app//lib/ant/lib/ant-apache-regexp.jar
/Applications/IntelliJ IDEA 10 CE.app//lib/ant/lib/ant-apache-regexp.pom
/Applications/IntelliJ IDEA 10 CE.app//lib/ant/lib/ant-apache-resolver.jar
/Applications/IntelliJ IDEA 10 CE.app//lib/ant/lib/ant-apache-resolver.pom
/Applications/IntelliJ IDEA 10 CE.app//lib/ant/lib/ant-apache-xalan2.jar
/Applications/IntelliJ IDEA 10 CE.app//lib/ant/lib/ant-apache-xalan2.pom
/Applications/IntelliJ IDEA 10 CE.app//lib/ant/lib/ant-commons-logging.jar
/Applications/IntelliJ IDEA 10 CE.app//lib/ant/lib/ant-commons-logging.pom
/Applications/IntelliJ IDEA 10 CE.app//lib/ant/lib/ant-commons-net.jar
/Applications/IntelliJ IDEA 10 CE.app//lib/ant/lib/ant-commons-net.pom
/Applications/IntelliJ IDEA 10 CE.app//lib/ant/lib/ant-jai.jar
/Applications/IntelliJ IDEA 10 CE.app//lib/ant/lib/ant-jai.pom
/Applications/IntelliJ IDEA 10 CE.app//lib/ant/lib/ant-javamail.jar
/Applications/IntelliJ IDEA 10 CE.app//lib/ant/lib/ant-javamail.pom
/Applications/IntelliJ IDEA 10 CE.app//lib/ant/lib/ant-jdepend.jar
/Applications/IntelliJ IDEA 10 CE.app//lib/ant/lib/ant-jdepend.pom
/Applications/IntelliJ IDEA 10 CE.app//lib/ant/lib/ant-jmf.jar
/Applications/IntelliJ IDEA 10 CE.app//lib/ant/lib/ant-jmf.pom
/Applications/IntelliJ IDEA 10 CE.app//lib/ant/lib/ant-jsch.jar
/Applications/IntelliJ IDEA 10 CE.app//lib/ant/lib/ant-jsch.pom
/Applications/IntelliJ IDEA 10 CE.app//lib/ant/lib/ant-junit.jar
/Applications/IntelliJ IDEA 10 CE.app//lib/ant/lib/ant-junit.pom
/Applications/IntelliJ IDEA 10 CE.app//lib/ant/lib/ant-launcher.jar
/Applications/IntelliJ IDEA 10 CE.app//lib/ant/lib/ant-launcher.pom
/Applications/IntelliJ IDEA 10 CE.app//lib/ant/lib/ant-netrexx.jar
/Applications/IntelliJ IDEA 10 CE.app//lib/ant/lib/ant-netrexx.pom
/Applications/IntelliJ IDEA 10 CE.app//lib/ant/lib/ant-nodeps.jar
/Applications/IntelliJ IDEA 10 CE.app//lib/ant/lib/ant-nodeps.pom
/Applications/IntelliJ IDEA 10 CE.app//lib/ant/lib/ant-parent.pom
/Applications/IntelliJ IDEA 10 CE.app//lib/ant/lib/ant-swing.jar
/Applications/IntelliJ IDEA 10 CE.app//lib/ant/lib/ant-swing.pom
/Applications/IntelliJ IDEA 10 CE.app//lib/ant/lib/ant-testutil.jar
/Applications/IntelliJ IDEA 10 CE.app//lib/ant/lib/ant-testutil.pom
/Applications/IntelliJ IDEA 10 CE.app//lib/ant/lib/ant.jar
/Applications/IntelliJ IDEA 10 CE.app//lib/ant/lib/ant.pom
/Applications/IntelliJ IDEA 10 CE.app//lib/ant/lib/libraries.properties
/Applications/IntelliJ IDEA 10 CE.app//lib/ant/lib/README
/Applications/IntelliJ IDEA 10 CE.app//lib/ant/LICENSE
/Applications/IntelliJ IDEA 10 CE.app//lib/ant/NOTICE
/Applications/IntelliJ IDEA 10 CE.app//lib/ant/README
/Applications/IntelliJ IDEA 10 CE.app//lib/ant/WHATSNEW
/Applications/IntelliJ IDEA 10 CE.app//lib/asm-commons.jar
/Applications/IntelliJ IDEA 10 CE.app//lib/asm.jar
/Applications/IntelliJ IDEA 10 CE.app//lib/automaton.jar
/Applications/IntelliJ IDEA 10 CE.app//lib/boot.jar
/Applications/IntelliJ IDEA 10 CE.app//lib/bootstrap.jar
/Applications/IntelliJ IDEA 10 CE.app//lib/cglib-2.2.jar
/Applications/IntelliJ IDEA 10 CE.app//lib/commons-codec-1.3.jar
/Applications/IntelliJ IDEA 10 CE.app//lib/commons-collections.jar
/Applications/IntelliJ IDEA 10 CE.app//lib/commons-lang-2.4.jar
/Applications/IntelliJ IDEA 10 CE.app//lib/commons-net-2.0-patched.jar
/Applications/IntelliJ IDEA 10 CE.app//lib/dtdparser113.jar
/Applications/IntelliJ IDEA 10 CE.app//lib/extensions.jar
/Applications/IntelliJ IDEA 10 CE.app//lib/forms_rt.jar
/Applications/IntelliJ IDEA 10 CE.app//lib/foundrylogic-vpp-2.2.1.jar
/Applications/IntelliJ IDEA 10 CE.app//lib/groovy-all-1.7.3.jar
/Applications/IntelliJ IDEA 10 CE.app//lib/guava-r06.jar
/Applications/IntelliJ IDEA 10 CE.app//lib/icons.jar
/Applications/IntelliJ IDEA 10 CE.app//lib/idea.jar
/Applications/IntelliJ IDEA 10 CE.app//lib/idea_rt.jar
/Applications/IntelliJ IDEA 10 CE.app//lib/javac2.jar
/Applications/IntelliJ IDEA 10 CE.app//lib/jaxen-1.1.3.jar
/Applications/IntelliJ IDEA 10 CE.app//lib/jcip-annotations.jar
/Applications/IntelliJ IDEA 10 CE.app//lib/jdom.jar
/Applications/IntelliJ IDEA 10 CE.app//lib/jgoodies-forms.jar
/Applications/IntelliJ IDEA 10 CE.app//lib/jh.jar
/Applications/IntelliJ IDEA 10 CE.app//lib/jna-utils.jar
/Applications/IntelliJ IDEA 10 CE.app//lib/jna.jar
/Applications/IntelliJ IDEA 10 CE.app//lib/jsr173_1.0_api.jar
/Applications/IntelliJ IDEA 10 CE.app//lib/junit-4.8.jar
/Applications/IntelliJ IDEA 10 CE.app//lib/junit.jar
/Applications/IntelliJ IDEA 10 CE.app//lib/log4j.jar
/Applications/IntelliJ IDEA 10 CE.app//lib/looks-2.2.2.jar
/Applications/IntelliJ IDEA 10 CE.app//lib/microba.jar
/Applications/IntelliJ IDEA 10 CE.app//lib/nanoxml-2.2.3.jar
/Applications/IntelliJ IDEA 10 CE.app//lib/openapi.jar
/Applications/IntelliJ IDEA 10 CE.app//lib/org.eclipse.jdt.core_3.5.2.v_981_R35x.jar
/Applications/IntelliJ IDEA 10 CE.app//lib/oromatcher.jar
/Applications/IntelliJ IDEA 10 CE.app//lib/picocontainer.jar
/Applications/IntelliJ IDEA 10 CE.app//lib/quaqua.jar
/Applications/IntelliJ IDEA 10 CE.app//lib/resolver.jar
/Applications/IntelliJ IDEA 10 CE.app//lib/resources.jar
/Applications/IntelliJ IDEA 10 CE.app//lib/resources_en.jar
/Applications/IntelliJ IDEA 10 CE.app//lib/serviceMessages.jar
/Applications/IntelliJ IDEA 10 CE.app//lib/trove4j.jar
/Applications/IntelliJ IDEA 10 CE.app//lib/trove4j_changes.txt
/Applications/IntelliJ IDEA 10 CE.app//lib/trove4j_src.jar
/Applications/IntelliJ IDEA 10 CE.app//lib/util.jar
/Applications/IntelliJ IDEA 10 CE.app//lib/velocity.jar
/Applications/IntelliJ IDEA 10 CE.app//lib/winp-1.14.jar
/Applications/IntelliJ IDEA 10 CE.app//lib/xbean.jar
/Applications/IntelliJ IDEA 10 CE.app//lib/xerces.jar
/Applications/IntelliJ IDEA 10 CE.app//lib/xmlrpc-2.0.jar
/Applications/IntelliJ IDEA 10 CE.app//lib/xstream.jar
/Applications/IntelliJ IDEA 10 CE.app//lib/yjp-controller-api-redist.jar
/Applications/IntelliJ IDEA 10 CE.app//libyjpagent.jnilib
/Applications/IntelliJ IDEA 10 CE.app//license
/Applications/IntelliJ IDEA 10 CE.app//license/ant_license.txt
/Applications/IntelliJ IDEA 10 CE.app//license/asm_license.txt
/Applications/IntelliJ IDEA 10 CE.app//license/growl.license
/Applications/IntelliJ IDEA 10 CE.app//license/javahelp_license.html
/Applications/IntelliJ IDEA 10 CE.app//license/jaxen_license.txt
/Applications/IntelliJ IDEA 10 CE.app//license/jdom_license.txt
/Applications/IntelliJ IDEA 10 CE.app//license/jgoodies_forms_license.txt
/Applications/IntelliJ IDEA 10 CE.app//license/junit_license.txt
/Applications/IntelliJ IDEA 10 CE.app//license/log4j_license.txt
/Applications/IntelliJ IDEA 10 CE.app//license/microba_license.txt
/Applications/IntelliJ IDEA 10 CE.app//license/nanoxml_license.txt
/Applications/IntelliJ IDEA 10 CE.app//license/oromatcher_license.txt
/Applications/IntelliJ IDEA 10 CE.app//license/picoContainer_license.txt
/Applications/IntelliJ IDEA 10 CE.app//license/sqljet-license.txt
/Applications/IntelliJ IDEA 10 CE.app//license/svnkit-license.txt
/Applications/IntelliJ IDEA 10 CE.app//license/velocity_license.txt
/Applications/IntelliJ IDEA 10 CE.app//license/winp_license.txt
/Applications/IntelliJ IDEA 10 CE.app//license/xerces_license.txt
/Applications/IntelliJ IDEA 10 CE.app//license/xmlrpc_license.txt
/Applications/IntelliJ IDEA 10 CE.app//license/XStream_license.txt
/Applications/IntelliJ IDEA 10 CE.app//license/yourkit-license-redist.txt
/Applications/IntelliJ IDEA 10 CE.app//LICENSE.txt
/Applications/IntelliJ IDEA 10 CE.app//plugins
/Applications/IntelliJ IDEA 10 CE.app//plugins/android
/Applications/IntelliJ IDEA 10 CE.app//plugins/android/lib
/Applications/IntelliJ IDEA 10 CE.app//plugins/android/lib/android.jar
/Applications/IntelliJ IDEA 10 CE.app//plugins/android/lib/androidprefs.jar
/Applications/IntelliJ IDEA 10 CE.app//plugins/android/lib/ddmlib.jar
/Applications/IntelliJ IDEA 10 CE.app//plugins/android/lib/jarutils.jar
/Applications/IntelliJ IDEA 10 CE.app//plugins/android/lib/resources_en.jar
/Applications/IntelliJ IDEA 10 CE.app//plugins/android/lib/sdklib.jar
/Applications/IntelliJ IDEA 10 CE.app//plugins/ant
/Applications/IntelliJ IDEA 10 CE.app//plugins/ant/lib
/Applications/IntelliJ IDEA 10 CE.app//plugins/ant/lib/antIntegration.jar
/Applications/IntelliJ IDEA 10 CE.app//plugins/ant/lib/resources_en.jar
/Applications/IntelliJ IDEA 10 CE.app//plugins/commander
/Applications/IntelliJ IDEA 10 CE.app//plugins/commander/lib
/Applications/IntelliJ IDEA 10 CE.app//plugins/commander/lib/commander.jar
/Applications/IntelliJ IDEA 10 CE.app//plugins/commander/lib/resources_en.jar
/Applications/IntelliJ IDEA 10 CE.app//plugins/copyright
/Applications/IntelliJ IDEA 10 CE.app//plugins/copyright/lib
/Applications/IntelliJ IDEA 10 CE.app//plugins/copyright/lib/copyright.jar
/Applications/IntelliJ IDEA 10 CE.app//plugins/cvsIntegration
/Applications/IntelliJ IDEA 10 CE.app//plugins/cvsIntegration/lib
/Applications/IntelliJ IDEA 10 CE.app//plugins/cvsIntegration/lib/cvs_util.jar
/Applications/IntelliJ IDEA 10 CE.app//plugins/cvsIntegration/lib/cvsIntegration.jar
/Applications/IntelliJ IDEA 10 CE.app//plugins/cvsIntegration/lib/javacvs-src.jar
/Applications/IntelliJ IDEA 10 CE.app//plugins/cvsIntegration/lib/resources_en.jar
/Applications/IntelliJ IDEA 10 CE.app//plugins/cvsIntegration/lib/smartcvs-src.jar
/Applications/IntelliJ IDEA 10 CE.app//plugins/cvsIntegration/lib/trilead-ssh2-build213.jar
/Applications/IntelliJ IDEA 10 CE.app//plugins/devkit
/Applications/IntelliJ IDEA 10 CE.app//plugins/devkit/lib
/Applications/IntelliJ IDEA 10 CE.app//plugins/devkit/lib/devkit.jar
/Applications/IntelliJ IDEA 10 CE.app//plugins/devkit/lib/resources_en.jar
/Applications/IntelliJ IDEA 10 CE.app//plugins/eclipse
/Applications/IntelliJ IDEA 10 CE.app//plugins/eclipse/lib
/Applications/IntelliJ IDEA 10 CE.app//plugins/eclipse/lib/eclipse.jar
/Applications/IntelliJ IDEA 10 CE.app//plugins/eclipse/lib/resources_en.jar
/Applications/IntelliJ IDEA 10 CE.app//plugins/git4idea
/Applications/IntelliJ IDEA 10 CE.app//plugins/git4idea/lib
/Applications/IntelliJ IDEA 10 CE.app//plugins/git4idea/lib/git4idea.jar
/Applications/IntelliJ IDEA 10 CE.app//plugins/git4idea/lib/resources_en.jar
/Applications/IntelliJ IDEA 10 CE.app//plugins/git4idea/lib/trilead-ssh2.jar
/Applications/IntelliJ IDEA 10 CE.app//plugins/github
/Applications/IntelliJ IDEA 10 CE.app//plugins/github/lib
/Applications/IntelliJ IDEA 10 CE.app//plugins/github/lib/github.jar
/Applications/IntelliJ IDEA 10 CE.app//plugins/Groovy
/Applications/IntelliJ IDEA 10 CE.app//plugins/Groovy/lib
/Applications/IntelliJ IDEA 10 CE.app//plugins/Groovy/lib/agent
/Applications/IntelliJ IDEA 10 CE.app//plugins/Groovy/lib/agent/gragent.jar
/Applications/IntelliJ IDEA 10 CE.app//plugins/Groovy/lib/gradle-open-api-0.8.jar
/Applications/IntelliJ IDEA 10 CE.app//plugins/Groovy/lib/groovy-starter.conf
/Applications/IntelliJ IDEA 10 CE.app//plugins/Groovy/lib/Groovy.jar
/Applications/IntelliJ IDEA 10 CE.app//plugins/Groovy/lib/groovy_rt.jar
/Applications/IntelliJ IDEA 10 CE.app//plugins/Groovy/lib/standardDsls
/Applications/IntelliJ IDEA 10 CE.app//plugins/Groovy/lib/standardDsls/bindableTransform.gdsl
/Applications/IntelliJ IDEA 10 CE.app//plugins/Groovy/lib/standardDsls/categoryTransform.gdsl
/Applications/IntelliJ IDEA 10 CE.app//plugins/Groovy/lib/standardDsls/defaultMethods.gdsl
/Applications/IntelliJ IDEA 10 CE.app//plugins/Groovy/lib/standardDsls/delegateTransform.gdsl
/Applications/IntelliJ IDEA 10 CE.app//plugins/Groovy/lib/standardDsls/extensions.gdsl
/Applications/IntelliJ IDEA 10 CE.app//plugins/Groovy/lib/standardDsls/gantScript.gdsl
/Applications/IntelliJ IDEA 10 CE.app//plugins/Groovy/lib/standardDsls/GppExtensions.gdsl
/Applications/IntelliJ IDEA 10 CE.app//plugins/Groovy/lib/standardDsls/metaDsl.gdsl
/Applications/IntelliJ IDEA 10 CE.app//plugins/Groovy/lib/standardDsls/newifyTransform.gdsl
/Applications/IntelliJ IDEA 10 CE.app//plugins/Groovy/lib/standardDsls/singletonTransform.gdsl
/Applications/IntelliJ IDEA 10 CE.app//plugins/Groovy/lib/standardDsls/swingBuilder.gdsl
/Applications/IntelliJ IDEA 10 CE.app//plugins/Groovy/lib/standardDsls/vetoableTransform.gdsl
/Applications/IntelliJ IDEA 10 CE.app//plugins/hg4idea
/Applications/IntelliJ IDEA 10 CE.app//plugins/hg4idea/lib
/Applications/IntelliJ IDEA 10 CE.app//plugins/hg4idea/lib/hg4idea.jar
/Applications/IntelliJ IDEA 10 CE.app//plugins/hg4idea/lib/resources_en.jar
/Applications/IntelliJ IDEA 10 CE.app//plugins/InspectionGadgets
/Applications/IntelliJ IDEA 10 CE.app//plugins/InspectionGadgets/lib
/Applications/IntelliJ IDEA 10 CE.app//plugins/InspectionGadgets/lib/InspectionGadgets.jar
/Applications/IntelliJ IDEA 10 CE.app//plugins/InspectionGadgets/lib/resources_en.jar
/Applications/IntelliJ IDEA 10 CE.app//plugins/IntelliLang
/Applications/IntelliJ IDEA 10 CE.app//plugins/IntelliLang/lib
/Applications/IntelliJ IDEA 10 CE.app//plugins/IntelliLang/lib/IntelliLang.jar
/Applications/IntelliJ IDEA 10 CE.app//plugins/IntentionPowerPack
/Applications/IntelliJ IDEA 10 CE.app//plugins/IntentionPowerPack/lib
/Applications/IntelliJ IDEA 10 CE.app//plugins/IntentionPowerPack/lib/IntentionPowerPack.jar
/Applications/IntelliJ IDEA 10 CE.app//plugins/IntentionPowerPack/lib/resources_en.jar
/Applications/IntelliJ IDEA 10 CE.app//plugins/java-i18n
/Applications/IntelliJ IDEA 10 CE.app//plugins/java-i18n/lib
/Applications/IntelliJ IDEA 10 CE.app//plugins/java-i18n/lib/java-i18n.jar
/Applications/IntelliJ IDEA 10 CE.app//plugins/junit
/Applications/IntelliJ IDEA 10 CE.app//plugins/junit/lib
/Applications/IntelliJ IDEA 10 CE.app//plugins/junit/lib/idea-junit.jar
/Applications/IntelliJ IDEA 10 CE.app//plugins/junit/lib/junit-rt.jar
/Applications/IntelliJ IDEA 10 CE.app//plugins/junit/lib/resources_en.jar
/Applications/IntelliJ IDEA 10 CE.app//plugins/maven
/Applications/IntelliJ IDEA 10 CE.app//plugins/maven/lib
/Applications/IntelliJ IDEA 10 CE.app//plugins/maven/lib/activation-1.1.jar
/Applications/IntelliJ IDEA 10 CE.app//plugins/maven/lib/archetype-common-2.0-alpha-4-SNAPSHOT.jar
/Applications/IntelliJ IDEA 10 CE.app//plugins/maven/lib/classworlds-1.1.jar
/Applications/IntelliJ IDEA 10 CE.app//plugins/maven/lib/commons-beanutils.jar
/Applications/IntelliJ IDEA 10 CE.app//plugins/maven/lib/commons-logging-1.1.1.jar
/Applications/IntelliJ IDEA 10 CE.app//plugins/maven/lib/gson-1.3.jar
/Applications/IntelliJ IDEA 10 CE.app//plugins/maven/lib/jaxb-api-2.1.jar
/Applications/IntelliJ IDEA 10 CE.app//plugins/maven/lib/jaxb-impl-2.1.10.jar
/Applications/IntelliJ IDEA 10 CE.app//plugins/maven/lib/lucene-core-2.3.0.jar
/Applications/IntelliJ IDEA 10 CE.app//plugins/maven/lib/maven-2.2.1-uber.jar
/Applications/IntelliJ IDEA 10 CE.app//plugins/maven/lib/maven-dependency-tree-1.2.jar
/Applications/IntelliJ IDEA 10 CE.app//plugins/maven/lib/maven-embedder-1.1-SNAPSHOT.jar
/Applications/IntelliJ IDEA 10 CE.app//plugins/maven/lib/maven-facade-api.jar
/Applications/IntelliJ IDEA 10 CE.app//plugins/maven/lib/maven-facade-impl.jar
/Applications/IntelliJ IDEA 10 CE.app//plugins/maven/lib/maven.jar
/Applications/IntelliJ IDEA 10 CE.app//plugins/maven/lib/mercury-artifact-1.0-alpha-6.jar
/Applications/IntelliJ IDEA 10 CE.app//plugins/maven/lib/nexus-indexer-1.2.3.jar
/Applications/IntelliJ IDEA 10 CE.app//plugins/maven/lib/plexus-utils-1.5.5.jar
/Applications/IntelliJ IDEA 10 CE.app//plugins/maven/lib/resources_en.jar
/Applications/IntelliJ IDEA 10 CE.app//plugins/maven/lib/wadl-core.jar
/Applications/IntelliJ IDEA 10 CE.app//plugins/properties
/Applications/IntelliJ IDEA 10 CE.app//plugins/properties/lib
/Applications/IntelliJ IDEA 10 CE.app//plugins/properties/lib/properties.jar
/Applications/IntelliJ IDEA 10 CE.app//plugins/properties/lib/resources_en.jar
/Applications/IntelliJ IDEA 10 CE.app//plugins/RelaxNG-Support
/Applications/IntelliJ IDEA 10 CE.app//plugins/RelaxNG-Support/lib
/Applications/IntelliJ IDEA 10 CE.app//plugins/RelaxNG-Support/lib/isorelax.jar
/Applications/IntelliJ IDEA 10 CE.app//plugins/RelaxNG-Support/lib/jing.jar
/Applications/IntelliJ IDEA 10 CE.app//plugins/RelaxNG-Support/lib/RelaxNG-Support.jar
/Applications/IntelliJ IDEA 10 CE.app//plugins/RelaxNG-Support/lib/resources_en.jar
/Applications/IntelliJ IDEA 10 CE.app//plugins/RelaxNG-Support/lib/rngom-20051226-patched.jar
/Applications/IntelliJ IDEA 10 CE.app//plugins/RelaxNG-Support/lib/trang-core.jar
/Applications/IntelliJ IDEA 10 CE.app//plugins/SpellChecker
/Applications/IntelliJ IDEA 10 CE.app//plugins/SpellChecker/lib
/Applications/IntelliJ IDEA 10 CE.app//plugins/SpellChecker/lib/resources_en.jar
/Applications/IntelliJ IDEA 10 CE.app//plugins/SpellChecker/lib/spellchecker-core.jar
/Applications/IntelliJ IDEA 10 CE.app//plugins/svn4idea
/Applications/IntelliJ IDEA 10 CE.app//plugins/svn4idea/lib
/Applications/IntelliJ IDEA 10 CE.app//plugins/svn4idea/lib/ANTLR-LICENSE
/Applications/IntelliJ IDEA 10 CE.app//plugins/svn4idea/lib/changelog.txt
/Applications/IntelliJ IDEA 10 CE.app//plugins/svn4idea/lib/COPYING
/Applications/IntelliJ IDEA 10 CE.app//plugins/svn4idea/lib/GANYMED-LICENSE
/Applications/IntelliJ IDEA 10 CE.app//plugins/svn4idea/lib/JAVAHL-LICENSE
/Applications/IntelliJ IDEA 10 CE.app//plugins/svn4idea/lib/JNA-LICENSE
/Applications/IntelliJ IDEA 10 CE.app//plugins/svn4idea/lib/jna.jar
/Applications/IntelliJ IDEA 10 CE.app//plugins/svn4idea/lib/README.txt
/Applications/IntelliJ IDEA 10 CE.app//plugins/svn4idea/lib/resources_en.jar
/Applications/IntelliJ IDEA 10 CE.app//plugins/svn4idea/lib/SEQUENCE-LICENSE
/Applications/IntelliJ IDEA 10 CE.app//plugins/svn4idea/lib/SQLJET-LICENSE
/Applications/IntelliJ IDEA 10 CE.app//plugins/svn4idea/lib/SQLJET-README.txt
/Applications/IntelliJ IDEA 10 CE.app//plugins/svn4idea/lib/svn4idea.jar
/Applications/IntelliJ IDEA 10 CE.app//plugins/svn4idea/lib/svnkit.jar
/Applications/IntelliJ IDEA 10 CE.app//plugins/svn4idea/lib/TRILEAD-LICENSE
/Applications/IntelliJ IDEA 10 CE.app//plugins/svn4idea/lib/trilead.jar
/Applications/IntelliJ IDEA 10 CE.app//plugins/tasks
/Applications/IntelliJ IDEA 10 CE.app//plugins/tasks/lib
/Applications/IntelliJ IDEA 10 CE.app//plugins/tasks/lib/axis-1.4.jar
/Applications/IntelliJ IDEA 10 CE.app//plugins/tasks/lib/axis-jaxrpc-1.4.jar
/Applications/IntelliJ IDEA 10 CE.app//plugins/tasks/lib/commons-httpclient-3.1.jar
/Applications/IntelliJ IDEA 10 CE.app//plugins/tasks/lib/commons-logging-1.1.1.jar
/Applications/IntelliJ IDEA 10 CE.app//plugins/tasks/lib/jira-connector.jar
/Applications/IntelliJ IDEA 10 CE.app//plugins/tasks/lib/tasks-api.jar
/Applications/IntelliJ IDEA 10 CE.app//plugins/tasks/lib/tasks-core.jar
/Applications/IntelliJ IDEA 10 CE.app//plugins/tasks/lib/tasks-java.jar
/Applications/IntelliJ IDEA 10 CE.app//plugins/testng
/Applications/IntelliJ IDEA 10 CE.app//plugins/testng/lib
/Applications/IntelliJ IDEA 10 CE.app//plugins/testng/lib/resources_en.jar
/Applications/IntelliJ IDEA 10 CE.app//plugins/testng/lib/testng-jdk15.jar
/Applications/IntelliJ IDEA 10 CE.app//plugins/testng/lib/testng.jar
/Applications/IntelliJ IDEA 10 CE.app//plugins/testng/lib-jdk14
/Applications/IntelliJ IDEA 10 CE.app//plugins/ToString
/Applications/IntelliJ IDEA 10 CE.app//plugins/ToString/lib
/Applications/IntelliJ IDEA 10 CE.app//plugins/ToString/lib/resources_en.jar
/Applications/IntelliJ IDEA 10 CE.app//plugins/ToString/lib/toString.jar
/Applications/IntelliJ IDEA 10 CE.app//plugins/uiDesigner
/Applications/IntelliJ IDEA 10 CE.app//plugins/uiDesigner/lib
/Applications/IntelliJ IDEA 10 CE.app//plugins/uiDesigner/lib/resources_en.jar
/Applications/IntelliJ IDEA 10 CE.app//plugins/uiDesigner/lib/uiDesigner.jar
/Applications/IntelliJ IDEA 10 CE.app//plugins/xpath
/Applications/IntelliJ IDEA 10 CE.app//plugins/xpath/lib
/Applications/IntelliJ IDEA 10 CE.app//plugins/xpath/lib/resources_en.jar
/Applications/IntelliJ IDEA 10 CE.app//plugins/xpath/lib/rt
/Applications/IntelliJ IDEA 10 CE.app//plugins/xpath/lib/rt/xslt-rt.jar
/Applications/IntelliJ IDEA 10 CE.app//plugins/xpath/lib/xpath.jar


0

Well, it looks like you need to actually run the YourKit Profiler UI and connect to IDEA process to grab the snapshots from the Community edition. Either trial the YJP and do it from the profiler UI or trial IDEA 10.0.2 Ultimate and do it from the IDEA toolbar.

0

Shea,

It's possible the spurious activity comes from a plug-in. You could try turning off as many as feasible to see if the unwanted CPU consumption disappears and then add them back (using some sort of bisection strategy) to find the culprit.


Randall Schulz

0

I uploaded two CPU profiles using the full install of the trial version of YourKit Java Profiler.  

I did one profile with IDEA hidden, and one with it Visible.  Both times I did not do any editing or movement in the IDE.  Both times I made sure IDE was fully started, and had 'normalized' before I started profiling.  When it is visible, paint() calls are eating up most of the CPU, which is odd as I was not scrolling the window. In both cases, close notify event handler seemed to be eating up a lot of CPU.
I uploaded them to your FTP site:
shea_idea_hidden.snapshot and shea_idea_visible.snapshot

Thanks,
~S

0

I have disabled most of the plugins already, and I have not installed any extra plugins, only the ones that IDEA CE shipped with.

0

I don't see anything interesting in the provided spanshots. No any heavy activity recorded.

0

ignore, posted in wrong thread.

0

OK, it just struck me as odd, as NetBeans, and Eclipse don't use any CPU when they are not in use (minimized/hidden). I know I originally said 3~4%, but it often spikes up to 10% for a few seconds.

This means I can't really use it on my macbook, as it drains the battery much quicker than NetBeans does. Though it is a nice IDEA, and when I do development on my desktop, I'll try it again.

Thanks for the help, it is really appreciated.

~S

0

I do have the same effect. I figured out(via tracing with dtruss/lsof and fs_usage) that IntelliJ seems to constantly poll the pipe which it is using to communicate with fsnotifier. That might be the reason you dont see any special activity in the VM.

I guess the polling interval is to tight maybe?

0

请先登录再写评论。