Idea CE freeze

I have been using Idea CE relatively successfully for Kotlin development on Ubuntu 18 for months.
At least until today. After updating (both Ubuntu and Idea updates have been applied) Idea has become insanely slow, it freezes for minutes after each key press in the editor. It is practically unusable.
The problem is that I could not find the component that is responsible for the slowdown.
Has anyone else experienced similar freezes lately?
Thanks.

IntelliJ IDEA 2019.2 (Community Edition)
Build #IC-192.5728.74, built on July 18, 2019
Runtime version: 11.0.3+12-b304.10 amd64
VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o
Linux 4.15.0-54-generic
GC: ParNew, ConcurrentMarkSweep
Memory: 8083M
Cores: 16
Registry: git.explicit.commit.renames.prohibit.multiple.calls=false
Non-Bundled Plugins: com.github.jk1.ytplugin, org.antlr.intellij.plugin, org.jetbrains.kotlin, training

Please file an issue at https://youtrack.jetbrains.com/issues/IDEA according to https://intellij-support.jetbrains.com/hc/en-us/articles/207241235-Reporting-performance-problems. Thank you.

Your suggestion has led me to this issue: https://youtrack.jetbrains.com/issue/KT-32378
Luckily the workaround described in one of the comments seems to work for me as well:

I don’t have slowness anymore when I deactivate “Enable new type inference algorithm for IDE analysis” (File | Settings | Build, Execution, Deployment | Compiler | Kotlin Compiler) !

Thanks :partying_face: