Help! How to stop infinite indexing

Answered

I upgraded to 92.105 today. My project has entered infinite indexing. It doesn't matter which version I use anymore, they all do it. I don't know how to get it to stop so that I can get something done today. Any tips besides re-creating the project?

1
8 comments
Avatar
Permanently deleted user

File|Invalidate Caches should help. But before that would you please attach idea.log (can be found at
%USER_HOME%\.IntelliJIDEA90\system\logs)


1

Make sure that you don't have the Native Neighbourhood plugin installed as it doesn't play nice with v9 yet.

0
Avatar
Permanently deleted user

actually, latest version of Native Neighbourhood doesn't trigger indexing anymore (at least not for me on linux)

0
Avatar
Permanently deleted user

I'm having the same problem. Here's my log:

IDE INFO:
IntelliJ IDEA 2017.3.4 (Ultimate Edition)
Build #IU-173.4548.28, built on January 29, 2018
...
JRE: 1.8.0_152-release-1024-b11 x86_64
JVM: OpenJDK 64-Bit Server VM by JetBrains s.r.o
Mac OS X 10.13.1

LOG:
2018-02-19 09:52:58,344 [4509721] INFO - il.indexing.FileBasedIndexImpl - scheduleIndexRebuild, reason: checkRebuild
2018-02-19 09:52:58,422 [4509799] INFO - .diagnostic.PerformanceWatcher - Pushing properties took 1ms; general responsiveness: ok; EDT responsiveness: ok
2018-02-19 09:53:00,247 [4511624] INFO - .diagnostic.PerformanceWatcher - Indexable file iteration took 1816ms; general responsiveness: ok; EDT responsiveness: ok
2018-02-19 09:53:00,248 [4511625] INFO - indexing.UnindexedFilesUpdater - Unindexed files update started: 12438 files to update
2018-02-19 09:53:12,498 [4523875] INFO - .diagnostic.PerformanceWatcher - Unindexed files update took 12250ms; general responsiveness: 1/12 sluggish; EDT responsiveness: ok
2018-02-19 09:53:20,202 [4531579] INFO - .diagnostic.PerformanceWatcher - Unindexed files update took 38686ms; general responsiveness: 3/38 sluggish, 1/38 very slow; EDT responsiveness: ok
2018-02-19 09:53:20,203 [4531580] INFO - .diagnostic.PerformanceWatcher - Pushing properties took 1ms; general responsiveness: ok; EDT responsiveness: ok
2018-02-19 09:53:20,819 [4532196] INFO - .diagnostic.PerformanceWatcher - Indexable file iteration took 615ms; general responsiveness: ok; EDT responsiveness: ok
2018-02-19 09:53:20,819 [4532196] INFO - indexing.UnindexedFilesUpdater - Unindexed files update started: 540 files to update
2018-02-19 09:53:21,465 [4532842] INFO - .diagnostic.PerformanceWatcher - Unindexed files update took 646ms; general responsiveness: ok; EDT responsiveness: ok
2018-02-19 09:53:35,030 [4546407] INFO - .diagnostic.PerformanceWatcher - Unindexed files update took 52656ms; general responsiveness: 3/52 sluggish, 1/52 very slow; EDT responsiveness: ok
2018-02-19 09:53:35,033 [4546410] INFO - .diagnostic.PerformanceWatcher - Pushing properties took 2ms; general responsiveness: ok; EDT responsiveness: ok
2018-02-19 09:53:35,949 [4547326] INFO - .diagnostic.PerformanceWatcher - Indexable file iteration took 916ms; general responsiveness: ok; EDT responsiveness: ok
2018-02-19 09:53:35,950 [4547327] INFO - indexing.UnindexedFilesUpdater - Unindexed files update started: 8505 files to update
2018-02-19 09:53:39,139 [4550516] INFO - .diagnostic.PerformanceWatcher - Unindexed files update took 3188ms; general responsiveness: ok; EDT responsiveness: ok
2018-02-19 09:53:43,224 [4554601] INFO - .openapi.util.LowMemoryWatcher - Low memory signal received.
2018-02-19 09:53:48,323 [4559700] INFO - .openapi.util.LowMemoryWatcher - Low memory signal received.
2018-02-19 09:54:10,414 [4581791] INFO - .diagnostic.PerformanceWatcher - Unindexed files update took 86259ms; general responsiveness: 5/85 sluggish, 2/85 very slow; EDT responsiveness: ok
2018-02-19 09:54:10,488 [4581865] INFO - .diagnostic.PerformanceWatcher - Pushing properties took 73ms; general responsiveness: ok; EDT responsiveness: ok
2018-02-19 09:54:11,599 [4582976] INFO - .diagnostic.PerformanceWatcher - Indexable file iteration took 1111ms; general responsiveness: ok; EDT responsiveness: ok
2018-02-19 09:54:11,600 [4582977] INFO - indexing.UnindexedFilesUpdater - Unindexed files update started: 8180 files to update
2018-02-19 09:54:14,090 [4585467] INFO - .diagnostic.PerformanceWatcher - Unindexed files update took 2490ms; general responsiveness: ok; EDT responsiveness: ok
2018-02-19 09:54:15,834 [4587211] INFO - il.indexing.FileBasedIndexImpl - Rebuild requested for index html5.custom.attributes.index
com.intellij.util.indexing.StorageException: java.io.FileNotFoundException: /Users/me/Library/Caches/IntelliJIdea2017.3/index/html5.custom.attributes.index/html5.custom.attributes.index.storage.keystream (No such file or directory)
at com.intellij.util.indexing.VfsAwareMapIndexStorage.processKeys(VfsAwareMapIndexStorage.java:210)
at com.intellij.util.indexing.MemoryIndexStorage.processKeys(MemoryIndexStorage.java:151)
at com.intellij.util.indexing.VfsAwareMapReduceIndex.processAllKeys(VfsAwareMapReduceIndex.java:153)
at com.intellij.util.indexing.FileBasedIndexImpl.processAllKeys(FileBasedIndexImpl.java:636)
at com.intellij.util.indexing.FileBasedIndexImpl.processAllKeys(FileBasedIndexImpl.java:624)
at com.intellij.util.indexing.FileBasedIndexImpl.getAllKeys(FileBasedIndexImpl.java:618)
at com.intellij.html.impl.Html5CustomAttributeDescriptorsProvider.a(Html5CustomAttributeDescriptorsProvider.java:52)
at com.intellij.psi.impl.PsiCachedValueImpl.doCompute(PsiCachedValueImpl.java:49)
at com.intellij.util.CachedValueBase.getValueWithLock(CachedValueBase.java:222)
at com.intellij.psi.impl.PsiCachedValue.getValueWithLock(PsiCachedValue.java:60)
at com.intellij.psi.impl.PsiCachedValueImpl.getValue(PsiCachedValueImpl.java:38)
at com.intellij.util.CachedValuesManagerImpl.getCachedValue(CachedValuesManagerImpl.java:87)
at com.intellij.psi.util.CachedValuesManager.getCachedValue(CachedValuesManager.java:118)
at com.intellij.html.impl.Html5CustomAttributeDescriptorsProvider.getAttributeDescriptors(Html5CustomAttributeDescriptorsProvider.java:51)
at com.intellij.html.impl.RelaxedHtmlFromSchemaElementDescriptor.addAttrDescriptorsForFacelets(RelaxedHtmlFromSchemaElementDescriptor.java:83)
at com.intellij.psi.impl.source.html.dtd.HtmlElementDescriptorImpl.getAttributesDescriptors(HtmlElementDescriptorImpl.java:206)
at com.intellij.codeInspection.htmlInspections.RequiredAttributesInspectionBase.checkTag(RequiredAttributesInspectionBase.java:112)
at com.intellij.codeInspection.htmlInspections.HtmlLocalInspectionTool$1.visitXmlToken(HtmlLocalInspectionTool.java:75)
at com.intellij.psi.impl.source.xml.XmlTokenImpl.accept(XmlTokenImpl.java:46)
at com.intellij.codeInspection.InspectionEngine.acceptElements(InspectionEngine.java:82)
at com.intellij.codeInspection.InspectionEngine.createVisitorAndAcceptElements(InspectionEngine.java:70)
at com.intellij.codeInsight.daemon.impl.LocalInspectionsPass.a(LocalInspectionsPass.java:286)
at com.intellij.codeInsight.daemon.impl.LocalInspectionsPass.a(LocalInspectionsPass.java:254)
at com.intellij.concurrency.ApplierCompleter.c(ApplierCompleter.java:133)
at com.intellij.openapi.application.impl.ApplicationImpl.tryRunReadAction(ApplicationImpl.java:1127)
at com.intellij.concurrency.ApplierCompleter.a(ApplierCompleter.java:105)
at com.intellij.openapi.progress.impl.CoreProgressManager.a(CoreProgressManager.java:543)
at com.intellij.openapi.progress.impl.CoreProgressManager.executeProcessUnderProgress(CoreProgressManager.java:488)
at com.intellij.openapi.progress.impl.ProgressManagerImpl.executeProcessUnderProgress(ProgressManagerImpl.java:94)
at com.intellij.concurrency.ApplierCompleter.b(ApplierCompleter.java:116)
at com.intellij.concurrency.ApplierCompleter.d(ApplierCompleter.java:96)
at com.intellij.openapi.application.impl.ReadMostlyRWLock.executeByImpatientReader(ReadMostlyRWLock.java:143)
at com.intellij.openapi.application.impl.ApplicationImpl.executeByImpatientReader(ApplicationImpl.java:229)
at com.intellij.concurrency.ApplierCompleter.compute(ApplierCompleter.java:96)
at java.util.concurrent.CountedCompleter.exec(CountedCompleter.java:731)
at java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:289)
at java.util.concurrent.ForkJoinPool$WorkQueue.runTask(ForkJoinPool.java:1056)
at java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1692)
at java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:157)
Caused by: java.io.FileNotFoundException: /Users/me/Library/Caches/IntelliJIdea2017.3/index/html5.custom.attributes.index/html5.custom.attributes.index.storage.keystream (No such file or directory)
at java.io.FileInputStream.open0(Native Method)
at java.io.FileInputStream.open(FileInputStream.java:195)
at java.io.FileInputStream.<init>(FileInputStream.java:138)
at com.intellij.util.io.AppendableStorageBackedByResizableMappedFile.processAll(AppendableStorageBackedByResizableMappedFile.java:117)
at com.intellij.util.io.PersistentEnumeratorBase.iterateData(PersistentEnumeratorBase.java:457)
at com.intellij.util.io.PersistentHashMap.processKeys(PersistentHashMap.java:478)
at com.intellij.util.indexing.VfsAwareMapIndexStorage.processKeys(VfsAwareMapIndexStorage.java:207)
... 38 more
0
Avatar
Permanently deleted user

Thank you that fixed my infinite indexing problem, although, now all my modules have been dropped from my project view. That's probably another issue. Anyway, thank you!

0
Avatar
Permanently deleted user

I've tried deleting the caches folder and setup everything. It works. However, once I close and restart PyCharm, same problem happens again.

Here's the log file. Thanks in advanced.

 

2018-12-03 12:31:19,183 [ 0] INFO - #com.intellij.idea.Main - ------------------------------------------------------ IDE STARTED ------------------------------------------------------
2018-12-03 12:31:19,343 [ 160] INFO - #com.intellij.idea.Main - IDE: PyCharm (build #PY-181.5087.37, 24 May 2018 02:19)
2018-12-03 12:31:19,343 [ 160] INFO - #com.intellij.idea.Main - OS: Mac OS X (10.12.6, x86_64)
2018-12-03 12:31:19,343 [ 160] INFO - #com.intellij.idea.Main - JRE: 1.8.0_152-release-1136-b39 (JetBrains s.r.o)
2018-12-03 12:31:19,343 [ 160] INFO - #com.intellij.idea.Main - JVM: 25.152-b39 (OpenJDK 64-Bit Server VM)
2018-12-03 12:31:19,351 [ 168] INFO - #com.intellij.idea.Main - JVM Args: -Xms128m -Xmx750m -XX:ReservedCodeCacheSize=240m -XX:+UseCompressedOops -Dfile.encoding=UTF-8 -XX:+UseConcMarkSweepGC -XX:SoftRefLRUPolicyMSPerMB=50 -ea -Dsu$
2018-12-03 12:31:19,352 [ 169] INFO - #com.intellij.idea.Main - ext: /Applications/PyCharm.app/Contents/jdk/Contents/Home/jre/lib/ext: [cldrdata.jar, dnsns.jar, jaccess.jar, jfxrt.jar, localedata.jar, meta-index, nashorn.jar, sunec$
2018-12-03 12:31:19,352 [ 169] INFO - #com.intellij.idea.Main - ext: /System/Library/Java/Extensions: [MRJToolkit.jar]
2018-12-03 12:31:19,352 [ 169] INFO - #com.intellij.idea.Main - JNU charset: UTF-8
2018-12-03 12:31:19,368 [ 185] INFO - #com.intellij.idea.Main - JNA library (64-bit) loaded in 16 ms
2018-12-03 12:31:19,385 [ 202] INFO - #com.intellij.idea.Main - initializing environment
2018-12-03 12:31:19,387 [ 204] INFO - .intellij.util.EnvironmentUtil - loading shell env: /bin/bash -l -i -c '/Applications/PyCharm.app/Contents/bin/printenv.py' '/private/var/folders/9t/kmrx8z5j0jq9m6qs4kyqvf4w0000gp/T/intellij-shell-env$
2018-12-03 12:31:19,507 [ 324] INFO - .intellij.util.EnvironmentUtil - shell environment loaded (15 vars)
2018-12-03 12:31:19,527 [ 344] INFO - .intellij.util.EnvironmentUtil - LC_CTYPE=en_US.UTF-8
2018-12-03 12:31:20,686 [ 1503] INFO - #com.intellij.util.ui.JBUI - User scale factor: 1.0
2018-12-03 12:31:20,686 [ 1503] INFO - #com.intellij.util.ui.JBUI - System scale factor: 1.0 (JRE-managed HiDPI)
...
2018-12-03 12:31:23,001 [ 3818] WARN - nSystem.impl.ActionManagerImpl - keymap "Xcode" not found [Plugin: Git4Idea]
2018-12-03 12:31:23,019 [ 3836] WARN - nSystem.impl.ActionManagerImpl - keymap "Xcode" not found [Plugin: hg4idea]
...
2018-12-03 12:31:26,441 [   7258]   WARN - om.intellij.util.ProfilingUtil - Profiling agent is not enabled. Add -agentlib:yjpagent to idea.vmoptions if necessary to profile IDEA.
...
2018-12-03 12:31:31,445 [ 12262] INFO - hon.packaging.PyPIPackageCache - Loaded 160433 packages from /Users/AF45008/Library/Caches/PyCharm2018.1/python_packages/pypi-cache.json
2018-12-03 12:36:33,558 [ 314375] INFO - #AgreementUpdater - Error updating privacy policy: java.security.cert.CertificateException: java.security.SignatureException: Signature length not correct: got 256 but was expecting 512
0

Please check https://intellij-support.jetbrains.com/hc/articles/206544889 . There appears to be some proxy in between you and the account server which substitutes the security certificate in order to be able to decrypt and analyze your traffic.

0

Please sign in to leave a comment.