<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:clearspace="http://www.jivesoftware.com/xmlns/clearspace/rss" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:opensearch="http://a9.com/-/spec/opensearch/1.1/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>JetBrains Developer Community : All Content - IntelliJ IDEA FAQ</title>
    <link>http://devnet.jetbrains.com/community/idea/kb</link>
    <description>All Content in IntelliJ IDEA FAQ</description>
    <language>en</language>
    <pubDate>Thu, 16 Aug 2012 12:15:35 GMT</pubDate>
    <generator>Clearspace 2.5.16 (http://jivesoftware.com/products/clearspace/)</generator>
    <dc:date>2012-08-16T12:15:35Z</dc:date>
    <dc:language>en</dc:language>
    <item>
      <title>How to report IntelliJ IDEA performance problems and take CPU snapshots</title>
      <link>http://devnet.jetbrains.com/docs/DOC-192</link>
      <description>&lt;!-- [DocumentBodyStart:7ea8c245-a1dc-4309-b7b3-70beb86e9e31] --&gt;&lt;div class='jive-rendered-content'&gt;&lt;h4&gt;Common solutions for IntelliJ IDEA performance problems&lt;/h4&gt;&lt;p&gt;Before capturing and providing the CPU snapshot, please be aware of the following known issues (and possible solutions):&lt;/p&gt;&lt;ul&gt;&lt;li style="list-style: none"&gt;&lt;br/&gt;&lt;/li&gt;&lt;li&gt;&lt;strong&gt;Windows System Restore&lt;/strong&gt; locking attrib.dat.data IntelliJ IDEA cache file when &lt;strong&gt;idea.system.path&lt;/strong&gt; is set to custom location. Disable System Restore. (This should be obsolete starting from IntelliJ IDEA &lt;strong&gt;7.0.4&lt;/strong&gt; as now IntelliJ IDEA uses different extension for such files and they are no longer affected by the System Restore).&lt;/li&gt;&lt;li&gt;&lt;strong&gt;Antiviral tools&lt;/strong&gt; monitoring project and caches directories (USER_HOME\.IntelliJIdeaXX). Exclude IntelliJ IDEA project/library/caches directories from the monitor. In some cases only complete uninstall will fix the problem because of the low level drivers affecting the performance even when you disable the antivirus.&lt;br/&gt;&lt;/li&gt;&lt;li&gt;IntelliJ IDEA caches on the &lt;strong&gt;slow or network drive&lt;/strong&gt;, check that USER_HOME\.IntelliJIdeaXX is on the local drive, adjust the location in IDEA_HOME\bin\idea.properties if necessary (but be aware of the first item in this list).&lt;/li&gt;&lt;li&gt;Project files/JDK files/Library jar files on the &lt;strong&gt;network drives&lt;/strong&gt;. Move them to your local drives.&lt;/li&gt;&lt;li&gt;&lt;strong&gt;Low free system memory&lt;/strong&gt; and therefore swapping. Close other applications, free as much memory as possible. Install additional RAM, decrease the heap.&lt;/li&gt;&lt;li&gt;Very large files (&amp;gt;10 000 lines). Refactor them if possible. Disable inspections per file to save some resources using the Hector icon in the status bar.&lt;/li&gt;&lt;li&gt;Heavily &lt;strong&gt;fragmented partition&lt;/strong&gt; and full MFT, see the &lt;a class="jive-link-external-small" href="http://blogs.jetbrains.com/idea/2006/12/boosting-intellij-idea-performance-on-windows-systems"&gt;related blog post&lt;/a&gt;. Drive defragmentation can make IntelliJ IDEA much faster, we have proven it on our development machines.&lt;/li&gt;&lt;li&gt;&lt;strong&gt;Heavy disk activity&lt;/strong&gt; caused by another applications, such as torrent clients, file servers. One thread can read data from the modern HDD at ~100 MB/sec. If there are 2 or more applications reading/writing to the same HDD at the same time, performance will drop to 2-3 MB/sec. Check that there are no processes constantly reading/writing to the disk. On Windows you can use SysInternals &lt;a class="jive-link-external-small" href="http://technet.microsoft.com/en-us/sysinternals/bb896645.aspx"&gt;Process Monitor&lt;/a&gt; or &lt;a class="jive-link-external-small" href="http://technet.microsoft.com/en-us/sysinternals/bb896653.aspx"&gt;Process Explorer&lt;/a&gt;.&lt;/li&gt;&lt;li&gt;Ant/Maven build or other &lt;strong&gt;external process modifying or generating lots of files/logs into the project directories&lt;/strong&gt;. Synchronization will take lots of time in this case. Exclude such directories from the project.&lt;/li&gt;&lt;li&gt;When using version control, if there are many &lt;strong&gt;unversioned files&lt;/strong&gt; (thousands), Changes view update may be slow. Exclude such directories from the version control in Settings | Version Control | Directory Version Control Settings by adding the directory with such files to the list and setting VCS to NONE.&lt;/li&gt;&lt;li&gt;&lt;strong&gt;Too many nodes open in the Project View &lt;/strong&gt;will slow down editing. Collapsing the nodes will improve the performance. This issue is addressed in IntelliJ IDEA 9.0.&lt;/li&gt;&lt;li&gt;On &lt;strong&gt;Linux&lt;/strong&gt; the editor performance may be seriously affected by the &lt;strong&gt;video adapter/drivers&lt;/strong&gt;. It can be improved by running with &lt;a class="jive-link-external-small" href="http://www.cs.bgu.ac.il/~gwiener/programming/how-to-make-intellij-idea-8-usable-on-linux/"&gt;-Dsun.java2d.pmoffscreen=false&lt;/a&gt; VM option or by &lt;a class="jive-link-external-small" href="http://jetbrains.net/devnet/docs/DOC-1112"&gt;editing the xorg.conf&lt;/a&gt;.&lt;/li&gt;&lt;li&gt;&lt;strong&gt;Too low heap size &lt;/strong&gt;when running under &lt;strong&gt;64-bit&lt;/strong&gt; JVM or when working with &lt;strong&gt;large projects&lt;/strong&gt;. Low heap will cause frequent garbage collection. Increase the heap in &lt;em&gt;idea.exe.vmoptions&lt;/em&gt; (Windows), &lt;em&gt;idea.vmoptions&lt;/em&gt; (Linux) or &lt;a class="jive-link-wiki-small" href="http://devnet.jetbrains.com/docs/DOC-197"&gt;Info.plist&lt;/a&gt; (Mac). For 64-bit JVM you may need to double the defaults. Adding &lt;em&gt;-XX:+UseCompressedOops&lt;/em&gt; option should also help when running under 64-bit JDK. Note that normally you should not use heap size higher than 1GB, especially on the 32-bit JVM, where the VM may fail to start whith the heap (-Xmx)&amp;#160; &amp;gt; 1GB. If the heap is too high so that it doesn't fit into the free physical RAM, your OS will start swapping which will reduce the performance, also GC pauses may become longer. Don't use extreme memory values unless you know what you are doing.&lt;br/&gt;&lt;/li&gt;&lt;/ul&gt;&lt;p style="min-height: 8pt; height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;h4&gt;Automatic Thread Dumps Logging&lt;/h4&gt;&lt;p&gt;If the UI of IntelliJ IDEA is unresponsive for more than 5 seconds, it starts writing thread dumps to the logs directory. If you've encountered a situation of IntelliJ IDEA unresponsiveness or deadlock, please find the &lt;strong&gt;threadDumps-xxx&lt;/strong&gt; directory from the session in which you've experienced the problem and send the contents to &lt;strong&gt;&lt;a class="jive-link-email-small" href="mailto:support@jetbrains.com"&gt;support@jetbrains.com&lt;/a&gt;&lt;span&gt;.&lt;/span&gt;&lt;/strong&gt;&lt;/p&gt;&lt;p style="min-height: 8pt; height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;The logs directory on Windows and Linux is &lt;em&gt;USERPROFILE\.IntelliJIdeaXX\system\log&lt;/em&gt;.&lt;/p&gt;&lt;p style="min-height: 8pt; height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;On Mac OS X, the logs directory can be found at:&lt;/p&gt;&lt;p style="padding-left: 30px;"&gt;&lt;br/&gt; &lt;span style="font-family: courier new,courier;"&gt;~/Library/Caches/IntelliJIDEAXX/logs&lt;/span&gt;&lt;/p&gt;&lt;p style="padding-left: 30px;"&gt;for IntelliJ IDEA 8.x and older versions&lt;/p&gt;&lt;p style="min-height: 8pt; height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p style="padding-left: 30px;"&gt;&lt;span style="font-family: courier new,courier;"&gt;~/Library/Logs/IntelliJIDEAXX&lt;/span&gt;&lt;/p&gt;&lt;p style="padding-left: 30px;"&gt;for 9.0 and later IntelliJ IDEA versions&lt;/p&gt;&lt;h4&gt;&lt;/h4&gt;&lt;h4&gt;CPU snapshot capturing instructions&lt;/h4&gt;&lt;p&gt;If you have a performance problem not related to the issues mentioned above, please contact &lt;strong&gt;&lt;a class="jive-link-email-small" href="mailto:support@jetbrains.com"&gt;support@jetbrains.com&lt;/a&gt;&lt;/strong&gt; and provide the following information:&lt;/p&gt;&lt;ul&gt;&lt;li&gt;You hardware configuration (CPU, Memory, HDD)&lt;/li&gt;&lt;li&gt;OS, free memory when you start IntelliJ IDEA, IntelliJ IDEA heap settings, file system, IntelliJ IDEA caches location (if modified)&lt;/li&gt;&lt;/ul&gt;&lt;p style="min-height: 8pt; height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&lt;strong&gt;IntelliJ IDEA Ultimate&lt;/strong&gt; includes a built-in YourKit profiling agent that can be used to take CPU and memory snapshots. Please use the following instructions to enable it.&lt;/p&gt;&lt;p style="min-height: 8pt; height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Open &lt;strong&gt;IDEA_HOME/bin/idea.exe.vmoptions&lt;/strong&gt; (idea.vmoptions on Linux/Solairs), add the following line at the bottom:&lt;br/&gt; &lt;span style="font-family: courier new,courier;"&gt;-agentlib:yjpagent&lt;/span&gt;&lt;/p&gt;&lt;p style="min-height: 8pt; height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;On &lt;strong&gt;Mac OS X&lt;/strong&gt; open &lt;strong&gt;Info.plist&lt;/strong&gt; located in &lt;strong&gt;/Applications/IntelliJ IDEA X.X.app/Contents&lt;/strong&gt;, find the following:&lt;/p&gt;&lt;p style="min-height: 8pt; height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&lt;span style="font-family: courier new,courier;"&gt;&amp;lt;key&amp;gt;VMOptions&amp;lt;/key&amp;gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="font-family: courier new,courier;"&gt;&amp;lt;string&amp;gt;-Xms16m -Xmx192m -XX:MaxPermSize=120m -Xbootclasspath/p:../lib/boot.jar -ea&amp;lt;/string&amp;gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="min-height: 8pt; height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Modify the string tag by adding &lt;strong&gt;-agentlib:yjpagent&lt;/strong&gt; option, like:&lt;/p&gt;&lt;p style="min-height: 8pt; height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&lt;span style="font-family: courier new,courier;"&gt;&amp;lt;string&amp;gt;-Xms16m -Xmx192m -XX:MaxPermSize=120m -Xbootclasspath/p:../lib/boot.jar -ea &lt;strong&gt;-agentlib:yjpagent&lt;/strong&gt;&amp;lt;/string&amp;gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="min-height: 8pt; height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;If you want to &lt;strong&gt;profile the slow startup&lt;/strong&gt; of the application, CPU snapshot recording should be started automatically by using the following option instead:&lt;/p&gt;&lt;p&gt;&lt;span style="font-family: courier new,courier; color: #333333;"&gt;-agentlib:yjpagent=sampling,noj2ee&lt;/span&gt;&lt;/p&gt;&lt;p style="min-height: 8pt; height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p style="min-height: 8pt; height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Note that &lt;strong&gt;yjpagent&lt;/strong&gt; library provided with IntelliJ IDEA 9 or earlier&lt;strong&gt; will not work on 64-bit operating system&lt;/strong&gt; when you run IntelliJ IDEA &lt;strong&gt;under 64-bit JVM&lt;/strong&gt;. If you can't run under 32-bit JVM, please obtain the 64-bit library version from the &lt;a class="jive-link-external-small" href="http://www.yourkit.com/java/profiler/index.jsp"&gt;YourKit Java Profiler&lt;/a&gt; distribution (you need Linux &lt;strong&gt;.zip&lt;/strong&gt; download of &lt;strong&gt;7.5 or 8.x version&lt;/strong&gt; containing library versions for different operating systems: Linux, Mac, Solaris, Windows). Replace &lt;strong&gt;yjpagent&lt;/strong&gt; library in &lt;strong&gt;IDEA_HOME\bin&lt;/strong&gt; with the appropriate version. Use &lt;strong&gt;8.x YourKit version&lt;/strong&gt; with &lt;strong&gt;IntelliJ IDEA 9.x&lt;/strong&gt; and &lt;strong&gt;7.5&lt;/strong&gt; version with previous IntelliJ IDEA versions. &lt;strong&gt;IntelliJ IDEA 10 and later &lt;/strong&gt;has both 32-bit and 64-bit libraries bundled, therefore this step is not required.&lt;/p&gt;&lt;p style="min-height: 8pt; height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;For the &lt;strong&gt;64&lt;/strong&gt;-bit JVMs &lt;strong&gt;-agentlib:yjpagent64&lt;/strong&gt; option needs to be used instead or the IDE will not start.&lt;/p&gt;&lt;p style="min-height: 8pt; height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p style="min-height: 8pt; height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Start IntelliJ IDEA and you should notice 2 new buttons in the toolbar, one for taking &lt;strong&gt;CPU snapshot&lt;/strong&gt;, another one for &lt;strong&gt;Memory snapshot&lt;/strong&gt;. You may need to enable &lt;strong&gt;View&lt;/strong&gt; | &lt;strong&gt;Toolbar&lt;/strong&gt; to access the buttons, or use &lt;strong&gt;Tools&lt;/strong&gt; menu actions instead. Press the CPU button and perform the actions which take a lot of CPU resources on your machine. When finished, press this button again to stop recording, save the snapshot and upload it to &lt;strong&gt;&lt;a class="jive-link-external-small" href="ftp://ftp.intellij.net/.uploads/"&gt;ftp://ftp.intellij.net/.uploads/&lt;/a&gt;&lt;/strong&gt; (please note that listing is not allowed in this directory, only upload is permitted, therefore you will not be able to see/download your and other files there, some FTP clients may not like it, also be sure to switch into the binary transfer mode if uploading via commnad line ftp client). If you can't access FTP, use some free file sharing service and send us a link.&lt;/p&gt;&lt;p style="min-height: 8pt; height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Send us an e-mail with the file name and we'll investigate the issue. In the e-mail please also describe what you were doing in detail. If you can reproduce it in a small project, please provide one. You can also submit an issue to &lt;a class="jive-link-external-small" href="http://youtrack.jetbrains.net/issues/IDEA"&gt;YouTrack&lt;/a&gt; instead of contacting us by mail.&lt;/p&gt;&lt;p style="min-height: 8pt; height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&lt;strong&gt;IntelliJ IDEA Community Edition&lt;/strong&gt; does not include a YourKit profiling agent, because the YourKit agent library is not open-source. To take a CPU or memory snapshot with IntelliJ IDEA Community Edition, you can download an evaluation version of &lt;a class="jive-link-external-small" href="http://yourkit.com/"&gt;YourKit Java Profiler&lt;/a&gt;, copy the yjpagent library to the IntelliJ IDEA binary directory, add it to the VM options as described above, and connect to the running IntelliJ IDEA instance from the standalone YourKit Profiler UI.&lt;/p&gt;&lt;p style="min-height: 8pt; height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;h4&gt;Memory snapshot&lt;/h4&gt;&lt;p style="min-height: 8pt; height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;In case of memory related issues (memory usage goes high, garbage is not collected, etc) please use the Memory snapshot button in the menu near the CPU snapshot button. If it's not possible to get the snapshot because of the application crashing with OutOfMemory errors, please add the&lt;/p&gt;&lt;p style="padding-left: 30px;"&gt;&lt;strong&gt;-XX:+HeapDumpOnOutOfMemoryError&lt;/strong&gt;&lt;/p&gt;&lt;p&gt;option to the IntelliJ IDEA JVM options. On the next OOM error the .hrpof dump will be produced and saved by the JVM (usually in the application working directory which is IDEA_HOME\bin). Upload this dump to our FTP as described above in the CPU snapshot section.&lt;/p&gt;&lt;p style="min-height: 8pt; height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Please note that memory snapshot may contain the sensitive source code from your project. If you are uploading to a public service, use some password protection or enctyption. JetBrains FTP server is write only and you don't need to protect files uploaded there.&lt;/p&gt;&lt;div id="-chrome-auto-translate-plugin-dialog" style="opacity: 1 !important; background-image: initial !important; background-attachment: initial !important; background-origin: initial !important; background-clip: initial !important; background-color: transparent !important; position: absolute !important; top: 0px; left: 0px; overflow-x: visible !important; overflow-y: visible !important; z-index: 999999 !important; text-align: left !important; display: none; background-position: initial initial !important; background-repeat: initial initial !important; padding: 0px !important; margin: 0px !important;"&gt;&lt;div style="max-width: 300px !important; color: #121212 !important; opacity: 1 !important; border: 1px solid #363636 !important; -webkit-border-radius: 10px !important; background-color: #ffffff !important; font-size: 16px !important; padding: 8px !important; overflow: visible !important; background-image: -webkit-gradient(linear, left top, right bottom, color-stop(0%, #FFF), color-stop(50%, #EEE), color-stop(100%, #FFF)); z-index: 999999 !important; text-align: left&amp;#160; !important;"&gt;&lt;div class="translate"&gt; &lt;/div&gt;&lt;div class="additional"&gt; &lt;/div&gt;&lt;/div&gt;&lt;a href="http://www.google.com/uds/css/small-logo.png"&gt;&lt;img src="http://www.google.com/uds/css/small-logo.png" style="position: absolute !important; z-index: -1 !important; right: 1px !important; top: -20px !important; cursor: pointer !important; -webkit-border-radius: 20px; background-color: rgba(200, 200, 200, 0.3) !important; padding: 3px 5px 0 !important; margin: 0 !important;"/&gt;&lt;/a&gt;&lt;/div&gt;&lt;/div&gt;&lt;!-- [DocumentBodyEnd:7ea8c245-a1dc-4309-b7b3-70beb86e9e31] --&gt;</description>
      <category domain="http://devnet.jetbrains.com/tags?containerType=14&amp;container=2095">performance</category>
      <category domain="http://devnet.jetbrains.com/tags?containerType=14&amp;container=2095">slow</category>
      <category domain="http://devnet.jetbrains.com/tags?containerType=14&amp;container=2095">editor</category>
      <category domain="http://devnet.jetbrains.com/tags?containerType=14&amp;container=2095">slow</category>
      <category domain="http://devnet.jetbrains.com/tags?containerType=14&amp;container=2095">cpu</category>
      <category domain="http://devnet.jetbrains.com/tags?containerType=14&amp;container=2095">performance</category>
      <category domain="http://devnet.jetbrains.com/tags?containerType=14&amp;container=2095">snapshot</category>
      <pubDate>Thu, 26 Jan 2006 00:04:32 GMT</pubDate>
      <author>serge@jetbrains.com</author>
      <guid>http://devnet.jetbrains.com/docs/DOC-192</guid>
      <dc:date>2006-01-26T00:04:32Z</dc:date>
      <clearspace:dateToText>9 months, 5 days ago</clearspace:dateToText>
      <clearspace:replyCount>18</clearspace:replyCount>
    </item>
    <item>
      <title>How to take thread dumps and report problems when IntelliJ IDEA hangs and doesn't respond</title>
      <link>http://devnet.jetbrains.com/docs/DOC-260</link>
      <description>&lt;!-- [DocumentBodyStart:f0afb1be-29c1-4deb-91a1-fa3c7981ab20] --&gt;&lt;div class='jive-rendered-content'&gt;&lt;p&gt;In case IntelliJ IDEA doesn't respond, a thread dump could be taken to help us analyze and fix the problem that you experience.&lt;/p&gt;&lt;p style="min-height: 8pt; height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;To get the thread dump you can use &lt;strong&gt;jstack&lt;/strong&gt; command line utility that comes with your JDK and is located in the JDK bin directory. In order to use &lt;strong&gt;jstack&lt;/strong&gt; you need to know the process id of the JVM which runs IntelliJ IDEA. You can use your favorite task manager to get it or use the &lt;strong&gt;jps&lt;/strong&gt; JDK utility. Once the process ID is obtained, run this command in the terminal/command line console:&lt;/p&gt;&lt;p style="min-height: 8pt; height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;!--[CodeBlockStart:ddc39a61-59d5-475e-b54d-03579a4f0db4]--&gt;&lt;pre class="jive-pre"&gt;&lt;code class="jive-code"&gt;jstack -l &amp;lt;pid&amp;gt;&lt;/code&gt;&lt;/pre&gt;&lt;!--[CodeBlockEnd:ddc39a61-59d5-475e-b54d-03579a4f0db4]--&gt;&lt;p style="min-height: 8pt; height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Substitute &lt;strong&gt;&amp;lt;pid&amp;gt;&lt;/strong&gt; with the previously obtained process id.&lt;/p&gt;&lt;p style="min-height: 8pt; height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;You can also redirect the output to a file that you can attach to your report:&lt;/p&gt;&lt;p style="min-height: 8pt; height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;!--[CodeBlockStart:2aab58c6-902b-4773-81f3-b9e225ffa66e]--&gt;&lt;pre class="jive-pre"&gt;&lt;code class="jive-code"&gt;jstack -l &amp;lt;pid&amp;gt; &amp;gt; dump.txt&lt;/code&gt;&lt;/pre&gt;&lt;!--[CodeBlockEnd:2aab58c6-902b-4773-81f3-b9e225ffa66e]--&gt;&lt;p style="min-height: 8pt; height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;After the dump is saved you can attach it to the YouTrack issue or send to the support team.&lt;/p&gt;&lt;p style="min-height: 8pt; height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p style="min-height: 8pt; height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;There are also different ways to take thread dumps which are platform specific, use them only in case jstack doesn't work for you.&lt;/p&gt;&lt;h4&gt;Windows&lt;/h4&gt;&lt;p style="padding-left: 30px;"&gt;Run IntelliJ IDEA via IDEA_HOME\bin\idea.bat file. You have to set &lt;strong&gt;IDEA_JDK&lt;/strong&gt; environment variable first which points to 1.6 installation home. One of the ways to set it is to add the following line in the beginning of &lt;strong&gt;idea.bat&lt;/strong&gt; file:&lt;/p&gt;&lt;p style="min-height: 8pt; height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p style="padding-left: 30px;"&gt;&lt;span style="font-family: courier new,courier;"&gt;&lt;strong&gt;SET IDEA_JDK=C:\Program Files\Java\jdk1.6.0_10&lt;/strong&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="min-height: 8pt; height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p style="padding-left: 30px;"&gt;Reproduce the problem. When IntelliJ IDEA hangs, press &lt;strong&gt;Ctrl+Break&lt;/strong&gt; (&lt;strong&gt;NOT&lt;/strong&gt; Ctrl+C) in the console window, copy the thread dump from the console.&lt;/p&gt;&lt;p style="min-height: 8pt; height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p style="min-height: 8pt; height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;h4&gt;Mac OS&lt;/h4&gt;&lt;p style="padding-left: 30px;"&gt;Browse to the &lt;span style="font-family: 'courier new', courier;"&gt;&lt;strong&gt;/Applications/IntelliJ IDEA XX.app/Contents/MacOS/idea&lt;/strong&gt;&lt;/span&gt; in &lt;strong&gt;Finder&lt;/strong&gt;, in the context menu choose &lt;strong&gt;Open With&lt;/strong&gt;, &lt;strong&gt;Terminal&lt;/strong&gt;. To get a thread dump press &lt;strong&gt;Ctrl+\&lt;/strong&gt; in the Terminal window.&lt;/p&gt;&lt;p style="min-height: 8pt; height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;h4&gt;&lt;strong&gt;Linux/Mac OS/Generic Unix/Solaris&lt;/strong&gt;&lt;/h4&gt;&lt;p style="padding-left: 30px;"&gt;You have to run IntelliJ IDEA with the terminal window shown, start your terminal and run IntelliJ IDEA via IDEA_HOME/idea.sh startup script. Reproduce the problem. Now use the &lt;strong&gt;ps&lt;/strong&gt; utility to find IntelliJ IDEA process (it should be java process started from the idea.sh script), note the process ID (PID). Now open the second terminal window and issue the following command:&lt;/p&gt;&lt;p style="min-height: 8pt; height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p style="padding-left: 30px;"&gt;&lt;span style="font-family: courier new,courier;"&gt;&lt;strong&gt;kill -QUIT PID&lt;/strong&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="min-height: 8pt; height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p style="padding-left: 30px;"&gt;where PID is the the java process ID shown by &lt;strong&gt;ps&lt;/strong&gt;. Thread dump should be printed in the first terminal window.&lt;/p&gt;&lt;p style="min-height: 8pt; height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;IntelliJ IDEA also takes thread dumps and saves them automatically on certain conditions under the &lt;strong&gt;%idea.system.path%\log&lt;/strong&gt; directory (in the subdirectories starting with &lt;strong&gt;threadDumps&lt;/strong&gt;). However, in some cases they may not get recorded, therefore it's recommended to take dumps manually as described above at the moments when IntelliJ IDEA doesn't respond.&lt;/p&gt;&lt;div id="-chrome-auto-translate-plugin-dialog" style="opacity: 1 !important; background-image: initial !important; background-attachment: initial !important; background-origin: initial !important; background-clip: initial !important; background-color: transparent !important; position: absolute !important; top: 0px; left: 0px; overflow-x: visible !important; overflow-y: visible !important; z-index: 999999 !important; text-align: left !important; display: none; background-position: initial initial !important; background-repeat: initial initial !important; padding: 0px !important; margin: 0px !important;"&gt;&lt;div style="max-width: 300px !important; color: #121212 !important; opacity: 1 !important; border: 1px solid #363636 !important; -webkit-border-radius: 10px !important; background-color: #ffffff !important; font-size: 16px !important; padding: 8px !important; overflow: visible !important; background-image: -webkit-gradient(linear, left top, right bottom, color-stop(0%, #FFF), color-stop(50%, #EEE), color-stop(100%, #FFF)); z-index: 999999 !important; text-align: left&amp;#160; !important;"&gt;&lt;div class="translate"&gt; &lt;/div&gt;&lt;div class="additional"&gt; &lt;/div&gt;&lt;/div&gt;&lt;a href="http://www.google.com/uds/css/small-logo.png"&gt;&lt;img onclick="" src="http://www.google.com/uds/css/small-logo.png" style="position: absolute !important; z-index: -1 !important; right: 1px !important; top: -20px !important; cursor: pointer !important; -webkit-border-radius: 20px; background-color: rgba(200, 200, 200, 0.3) !important; padding: 3px 5px 0 !important; margin: 0 !important;"/&gt;&lt;/a&gt;&lt;/div&gt;&lt;/div&gt;&lt;!-- [DocumentBodyEnd:f0afb1be-29c1-4deb-91a1-fa3c7981ab20] --&gt;</description>
      <category domain="http://devnet.jetbrains.com/tags?containerType=14&amp;container=2095">hang</category>
      <category domain="http://devnet.jetbrains.com/tags?containerType=14&amp;container=2095">dump</category>
      <category domain="http://devnet.jetbrains.com/tags?containerType=14&amp;container=2095">dump</category>
      <category domain="http://devnet.jetbrains.com/tags?containerType=14&amp;container=2095">hang</category>
      <category domain="http://devnet.jetbrains.com/tags?containerType=14&amp;container=2095">thread</category>
      <pubDate>Tue, 07 Aug 2007 15:35:32 GMT</pubDate>
      <author>serge@jetbrains.com</author>
      <guid>http://devnet.jetbrains.com/docs/DOC-260</guid>
      <dc:date>2007-08-07T15:35:32Z</dc:date>
      <clearspace:dateToText>1 year, 3 months ago</clearspace:dateToText>
      <clearspace:replyCount>7</clearspace:replyCount>
    </item>
    <item>
      <title>What is EAP?</title>
      <link>http://devnet.jetbrains.com/docs/DOC-24</link>
      <description>&lt;!-- [DocumentBodyStart:07eab1dd-4eed-42af-b03c-809a5776a946] --&gt;&lt;div class='jive-rendered-content'&gt;&lt;p&gt;The Early Access Program (EAP) gives you an opportunity to get acquainted with the new version of IntelliJ IDEA being currently under development.&lt;/p&gt;&lt;p style="min-height: 8pt; height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;The EAP section of our web-site contains a list of the planned and already implemented features for the next IntelliJ IDEA version. Here you can also download the most recent build, as well as subscribe to the newsgroups where it is recommended to post all the bug-reports and feature-suggestions related to the EAP builds.&lt;/p&gt;&lt;p style="min-height: 8pt; height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&lt;p&gt;To join the Early Access Program of IntelliJ IDEA, please refer to the &lt;a class="jive-link-external-small" href="http://confluence.jetbrains.net/display/IDEADEV/EAP"&gt;IntelliJ IDEA EAP page&lt;/a&gt;.&lt;/p&gt;&lt;div&gt; &lt;/div&gt;&lt;/p&gt;&lt;/div&gt;&lt;!-- [DocumentBodyEnd:07eab1dd-4eed-42af-b03c-809a5776a946] --&gt;</description>
      <category domain="http://devnet.jetbrains.com/tags?containerType=14&amp;container=2095">eap</category>
      <category domain="http://devnet.jetbrains.com/tags?containerType=14&amp;container=2095">access</category>
      <category domain="http://devnet.jetbrains.com/tags?containerType=14&amp;container=2095">access</category>
      <category domain="http://devnet.jetbrains.com/tags?containerType=14&amp;container=2095">eap</category>
      <category domain="http://devnet.jetbrains.com/tags?containerType=14&amp;container=2095">early</category>
      <category domain="http://devnet.jetbrains.com/tags?containerType=14&amp;container=2095">program</category>
      <pubDate>Fri, 17 Oct 2003 13:55:29 GMT</pubDate>
      <author>serge@jetbrains.com</author>
      <guid>http://devnet.jetbrains.com/docs/DOC-24</guid>
      <dc:date>2003-10-17T13:55:29Z</dc:date>
      <clearspace:dateToText>1 year, 7 months ago</clearspace:dateToText>
    </item>
    <item>
      <title>How to maintain Subversion feature branches using IntelliJ IDEA 9.0.3</title>
      <link>http://devnet.jetbrains.com/docs/DOC-1203</link>
      <description>&lt;!-- [DocumentBodyStart:964c3143-af8c-4f4d-8f25-805d14639f58] --&gt;&lt;div class='jive-rendered-content'&gt;&lt;p&gt;Attached PDF document describes how to work with Subversion feature branches in IntelliJ IDEA 9.0.3.&lt;/p&gt;&lt;p&gt;This new feature is a result of addressing &lt;a class="jive-link-external-small" href="http://youtrack.jetbrains.net/issue/IDEA-22730"&gt;IDEA-22730&lt;/a&gt;. See also the related &lt;a class="jive-link-external-small" href="http://blogs.jetbrains.com/idea/2010/06/subversion-easy-merge-for-feature-branches/"&gt;IntelliJ IDEA blog post&lt;/a&gt;.&lt;/p&gt;&lt;/div&gt;&lt;!-- [DocumentBodyEnd:964c3143-af8c-4f4d-8f25-805d14639f58] --&gt;</description>
      <category domain="http://devnet.jetbrains.com/tags?containerType=14&amp;container=2095">svn</category>
      <category domain="http://devnet.jetbrains.com/tags?containerType=14&amp;container=2095">changes</category>
      <category domain="http://devnet.jetbrains.com/tags?containerType=14&amp;container=2095">subversion</category>
      <category domain="http://devnet.jetbrains.com/tags?containerType=14&amp;container=2095">merge</category>
      <category domain="http://devnet.jetbrains.com/tags?containerType=14&amp;container=2095">branch</category>
      <category domain="http://devnet.jetbrains.com/tags?containerType=14&amp;container=2095">trunk</category>
      <category domain="http://devnet.jetbrains.com/tags?containerType=14&amp;container=2095">subversion</category>
      <category domain="http://devnet.jetbrains.com/tags?containerType=14&amp;container=2095">svn</category>
      <category domain="http://devnet.jetbrains.com/tags?containerType=14&amp;container=2095">pick</category>
      <pubDate>Thu, 17 Jun 2010 22:27:13 GMT</pubDate>
      <author>serge@jetbrains.com</author>
      <guid>http://devnet.jetbrains.com/docs/DOC-1203</guid>
      <dc:date>2010-06-17T22:27:13Z</dc:date>
      <clearspace:dateToText>1 year, 8 months ago</clearspace:dateToText>
      <clearspace:replyCount>1</clearspace:replyCount>
    </item>
    <item>
      <title>Slow editor performance on Ubuntu 8.10</title>
      <link>http://devnet.jetbrains.com/docs/DOC-1112</link>
      <description>&lt;!-- [DocumentBodyStart:7c4cfd6f-7e2a-478a-ab54-ca5ace3e891e] --&gt;&lt;div class='jive-rendered-content'&gt;&lt;p&gt;The performance problem in all the Java Swing applications is caused by the &lt;a class="jive-link-external-small" href="https://bugs.launchpad.net/ubuntu/+source/xserver-xorg-video-intel/+bug/252094"&gt;Ubuntu specific bug&lt;/a&gt;. You can find more information in &lt;a class="jive-link-external-small" href="https://bugs.launchpad.net/ubuntu/+source/sun-java6/+bug/288650"&gt;another bug&lt;/a&gt; description.&lt;/p&gt;&lt;p style="min-height: 8pt; height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;One known workaround until it's fixed in Ubuntu is:&lt;/p&gt;&lt;p style="min-height: 8pt; height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Under &lt;strong&gt;Device&lt;/strong&gt; section of the &lt;strong&gt;/etc/X11/xorg.conf&lt;/strong&gt; file add the following line:&lt;/p&gt;&lt;!--[CodeBlockStart:1106e855-ca1c-478c-bed1-0c0321677d9c]--&gt;&lt;pre class="jive-pre"&gt;&lt;code class="jive-code"&gt;Option "AccelMethod" "XAA"&lt;/code&gt;&lt;/pre&gt;&lt;!--[CodeBlockEnd:1106e855-ca1c-478c-bed1-0c0321677d9c]--&gt;&lt;p&gt;You can also add the following option, but some users reported that it makes menu drawing slower:&lt;/p&gt;&lt;!--[CodeBlockStart:943eac3c-2521-4cd7-ae6f-7a65b85c4899]--&gt;&lt;pre class="jive-pre"&gt;&lt;code class="jive-code"&gt;Option "XAANoOffscreenPixmaps" "true"&lt;/code&gt;&lt;/pre&gt;&lt;!--[CodeBlockEnd:943eac3c-2521-4cd7-ae6f-7a65b85c4899]--&gt;&lt;p&gt;While this option should fix the editor scrolling performance, there could be other issues, like slow menu drawing speed. Changing &lt;strong&gt;Look&amp;amp;Feel&lt;/strong&gt; to &lt;strong&gt;GTK+&lt;/strong&gt; is known to make it much faster.&lt;/p&gt;&lt;p style="min-height: 8pt; height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&lt;strong&gt;UPDATE:&lt;/strong&gt; this bug is fixed in &lt;strong&gt;JDK 1.6.0_12&lt;/strong&gt;, running IntelliJ IDEA under this or later JDK version will also fix the performance problem without the need to edit xorg.conf.&lt;/p&gt;&lt;/div&gt;&lt;!-- [DocumentBodyEnd:7c4cfd6f-7e2a-478a-ab54-ca5ace3e891e] --&gt;</description>
      <category domain="http://devnet.jetbrains.com/tags?containerType=14&amp;container=2095">performance</category>
      <category domain="http://devnet.jetbrains.com/tags?containerType=14&amp;container=2095">slow</category>
      <category domain="http://devnet.jetbrains.com/tags?containerType=14&amp;container=2095">editor</category>
      <category domain="http://devnet.jetbrains.com/tags?containerType=14&amp;container=2095">linux</category>
      <category domain="http://devnet.jetbrains.com/tags?containerType=14&amp;container=2095">ubuntu</category>
      <category domain="http://devnet.jetbrains.com/tags?containerType=14&amp;container=2095">slow</category>
      <category domain="http://devnet.jetbrains.com/tags?containerType=14&amp;container=2095">linux</category>
      <category domain="http://devnet.jetbrains.com/tags?containerType=14&amp;container=2095">performance</category>
      <pubDate>Tue, 25 Nov 2008 20:01:28 GMT</pubDate>
      <author>serge@jetbrains.com</author>
      <guid>http://devnet.jetbrains.com/docs/DOC-1112</guid>
      <dc:date>2008-11-25T20:01:28Z</dc:date>
      <clearspace:dateToText>1 year, 8 months ago</clearspace:dateToText>
      <clearspace:replyCount>1</clearspace:replyCount>
    </item>
    <item>
      <title>Where do I email about features and bugs?</title>
      <link>http://devnet.jetbrains.com/docs/DOC-15</link>
      <description>&lt;!-- [DocumentBodyStart:b6d9ba81-0979-4969-9ac0-40a51868fb47] --&gt;&lt;div class='jive-rendered-content'&gt;&lt;p&gt;You can join the &lt;a class="" href="http://devnet.jetbrains.com/community/idea?view=documents"&gt;community forums&lt;/a&gt;, where different user questions, feature-requests and bug-reports are discussed among IntelliJ IDEA users and our technical staff.&lt;/p&gt;&lt;p style="min-height: 8pt; height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;You can also post feture suggestions and bug reports to the &lt;a class="jive-link-external-small" href="http://youtrack.jetbrains.net/issues/IDEA"&gt;YouTrack issue tracker&lt;/a&gt;.&lt;/p&gt;&lt;p style="min-height: 8pt; height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;In case of critical bug or problem that needs immediate solution, please contact &lt;a class="jive-link-email-small" href="mailto:support@intellij.com"&gt;support@intellij.com&lt;/a&gt; or fill in &lt;a class="jive-link-external-small" href="http://www.jetbrains.com/support/support.jsp?pr=IDEA"&gt;the support form&lt;/a&gt;. Double check that your reply-to e-mail address is correct and has no spam filters, otherwise we'll be not able to contact you.&lt;/p&gt;&lt;p style="min-height: 8pt; height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Before e-mailing about a problem it's recommended to check that it's not already submitted to the tracker.&lt;/p&gt;&lt;/div&gt;&lt;!-- [DocumentBodyEnd:b6d9ba81-0979-4969-9ac0-40a51868fb47] --&gt;</description>
      <category domain="http://devnet.jetbrains.com/tags?containerType=14&amp;container=2095">bug</category>
      <category domain="http://devnet.jetbrains.com/tags?containerType=14&amp;container=2095">report</category>
      <category domain="http://devnet.jetbrains.com/tags?containerType=14&amp;container=2095">bug</category>
      <category domain="http://devnet.jetbrains.com/tags?containerType=14&amp;container=2095">feature</category>
      <category domain="http://devnet.jetbrains.com/tags?containerType=14&amp;container=2095">issue</category>
      <category domain="http://devnet.jetbrains.com/tags?containerType=14&amp;container=2095">report</category>
      <category domain="http://devnet.jetbrains.com/tags?containerType=14&amp;container=2095">tracker</category>
      <pubDate>Fri, 17 Oct 2003 12:47:34 GMT</pubDate>
      <author>serge@jetbrains.com</author>
      <guid>http://devnet.jetbrains.com/docs/DOC-15</guid>
      <dc:date>2003-10-17T12:47:34Z</dc:date>
      <clearspace:dateToText>1 year, 8 months ago</clearspace:dateToText>
    </item>
    <item>
      <title>IntelliJ IDEA licensing and LAN</title>
      <link>http://devnet.jetbrains.com/docs/DOC-70</link>
      <description>&lt;!-- [DocumentBodyStart:4e2422ea-48ae-464f-9190-84e6360e4984] --&gt;&lt;div class='jive-rendered-content'&gt;&lt;p&gt;IntelliJ IDEA allows to use a single license on any number of computers as well as under different platforms unless they are connected to the same LAN.&lt;/p&gt;&lt;p&gt;IntelliJ IDEA checks if there are any running copies of the software in the LAN when the IDE is launched. In case it finds any copy started with the same license key, the earlier started copy is forced to save all data and close.&lt;/p&gt;&lt;/div&gt;&lt;!-- [DocumentBodyEnd:4e2422ea-48ae-464f-9190-84e6360e4984] --&gt;</description>
      <pubDate>Sat, 31 Jan 2004 21:08:22 GMT</pubDate>
      <author>serge@jetbrains.com</author>
      <guid>http://devnet.jetbrains.com/docs/DOC-70</guid>
      <dc:date>2004-01-31T21:08:22Z</dc:date>
      <clearspace:dateToText>1 year, 8 months ago</clearspace:dateToText>
    </item>
    <item>
      <title>FAQ for Eclipse users</title>
      <link>http://devnet.jetbrains.com/docs/DOC-1152</link>
      <description>&lt;!-- [DocumentBodyStart:e6216d19-ddaa-4c93-9f78-cfe7fa400cf0] --&gt;&lt;div class='jive-rendered-content'&gt;&lt;p&gt;We've prepared a &lt;a class="jive-link-external-small" href="http://www.jetbrains.com/idea/documentation/migration_faq.html"&gt;nice document&lt;/a&gt; for the users migrating from Eclipse.&lt;/p&gt;&lt;p style="min-height: 8pt; height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&lt;a class="jive-link-external-small" href="http://www.jetbrains.com/idea/documentation/migration_faq.html"&gt;http://www.jetbrains.com/idea/documentation/migration_faq.html&lt;/a&gt;&lt;/p&gt;&lt;/div&gt;&lt;!-- [DocumentBodyEnd:e6216d19-ddaa-4c93-9f78-cfe7fa400cf0] --&gt;</description>
      <category domain="http://devnet.jetbrains.com/tags?containerType=14&amp;container=2095">eclipse</category>
      <pubDate>Thu, 14 May 2009 12:31:50 GMT</pubDate>
      <author>serge@jetbrains.com</author>
      <guid>http://devnet.jetbrains.com/docs/DOC-1152</guid>
      <dc:date>2009-05-14T12:31:50Z</dc:date>
      <clearspace:dateToText>4 years, 5 days ago</clearspace:dateToText>
    </item>
  </channel>
</rss>

