Problem using Inspections
When I use "Analyze > Inspect code", if I select whole project, or even a single (big, around 90k lines) module, the process that analyzes the code dies before showing any result.
IDEA is using 3.6GB, but in "idea/bin/idea64.vm" I assigned -Xmx7000m.
Total RAM: 16GB, used RAM: about 8GB
I am using the latest EAP build, but it happened as well with stable versions at least since 2017.1 (I do not remember it happened with 2016.1/.2)
In the log:
2017-09-21 18:57:31,080 [1170123] INFO - ex.GlobalInspectionContextImpl - Code inspection started
2017-09-21 18:57:31,970 [1171013] INFO - l.schema.ComplexTypeDescriptor - annotation (http://www.w3.org/2001/XMLSchema) is replaced by annotation (http://www.w3.org/2001/XMLSchema)
2017-09-21 18:57:31,988 [1171031] INFO - l.schema.ComplexTypeDescriptor - annotation (http://www.w3.org/2001/XMLSchema) is replaced by annotation (http://www.w3.org/2001/XMLSchema)
2017-09-21 18:57:31,992 [1171035] INFO - l.schema.ComplexTypeDescriptor - annotation (http://www.w3.org/2001/XMLSchema) is replaced by annotation (http://www.w3.org/2001/XMLSchema)
2017-09-21 18:57:31,992 [1171035] INFO - l.schema.ComplexTypeDescriptor - simpleType (http://www.w3.org/2001/XMLSchema) is replaced by simpleType (http://www.w3.org/2001/XMLSchema)
2017-09-21 18:57:31,992 [1171035] INFO - l.schema.ComplexTypeDescriptor - complexType (http://www.w3.org/2001/XMLSchema) is replaced by complexType (http://www.w3.org/2001/XMLSchema)
2017-09-21 18:57:31,993 [1171036] INFO - l.schema.ComplexTypeDescriptor - annotation (http://www.w3.org/2001/XMLSchema) is replaced by annotation (http://www.w3.org/2001/XMLSchema)
2017-09-21 18:58:16,703 [1215746] INFO - l.schema.ComplexTypeDescriptor - annotation (http://www.w3.org/2001/XMLSchema) is replaced by annotation (http://www.w3.org/2001/XMLSchema)
2017-09-21 18:58:21,305 [1220348] INFO - nspection.reference.RefManager - Total duration of processing project usages:49964
Any idea where to look for the error, and how to solve it?
Please sign in to leave a comment.
There is no separate process started for code analysis, so there is no process that can die. If it dies, the whole IntelliJ IDEA will die.
The log doesn't show any errors, so it's not clear where the problem is.