EmmyLua / IntelliJ-EmmyLua

Lua IDE/Debugger Plugin for IntelliJ IDEA
https://emmylua.github.io
Apache License 2.0
1.73k stars 290 forks source link

IDEA Ultimate freeze when indexing JDK 1.8 #482

Closed GBLodb closed 1 year ago

GBLodb commented 2 years ago

Environment(环境)

name version
IDEA version IntelliJ IDEA 2022.1.2 (Ultimate Edition) Build #IU-221.5787.30, built on June 1, 2022
EmmyLua version 1.3.6.251-IDEA213
OS Windows 10 Professional 21H1, 19043.1766, Windows Feature Experience Pack 120.2212.4180.0

What are the steps to reproduce this issue?(重现步骤?)

Import any Java Gradle project.

What happens?(出现什么问题?)

IDEA Ultimate freeze when indexing JDK 1.8

What were you expecting to happen?(期望?)

Finish indexing jdk normally.

Any logs, error output, etc?(有没有什么log, error输出?)

idea.log Thread Dump

Any other comments?(其它说明)

Using JDK: Eclipse Adoptium jdk-8.0.322.6-hotspot

Report on YouTrack

CppCXY commented 2 years ago

maybe invalide caches can help. or use oracle jdk

GBLodb commented 2 years ago

maybe invalide caches can help. or use oracle jdk

Yeah, the index is after a invalid cache restart. I haven't try change the JDK yet but I still think this could be considered as a bug.

CppCXY commented 2 years ago

The indexing mechanism of intellij itself is complex and has many problems. Many many problems and bad reviews come from index freezing. I am not the author and cannot give an accurate answer

tangzx commented 1 year ago

fixed in 1.4.+, we rewrited the index system to fix those issues.