High CPU usage
If you can continue working with the IDE, but the IDE hangs, repeatedly stops responding, displays you warnings about memory consumption, try to close large files (for example, SQL files with thousands of rows), and restart the IDE.
Otherwise, capture the CPU snapshot and IDE logs and send them to the JetBrains support team.
This functionality relies on the Performance Testing plugin, which you need to install and enable.
Press CtrlAlt0S to open settings and then select Plugins.
Open the Marketplace tab, find the Performance Testing plugin, and click Install (restart the IDE if prompted).
Click Help | Diagnostic Tools | Start CPU Usage Profiling.
DataGrip might ask you to restart IDE to add necessary VM options. If you see this notification, restart the IDE and start the CPU usage profiling again.
Perform the actions that cause performance issues. Try to reproduce the performance problem several times while the snapshot is being recorded.
Click Help | Diagnostic Tools | Stop CPU Usage Profiling.
DataGrip saves the snapshot file in the user home directory. If you do not see the notification, enable balloon notifications for Profiling in settings. Open settings by pressing CtrlAlt0S and navigate to Appearance & Behavior | Notifications. . In the list of components, find profiler notifications and ensure that the Popup type is Balloon.
Gif
Thanks for your feedback!