DataGrip 2024.1 Help

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.

Install the Performance Testing plugin

This functionality relies on the Performance Testing plugin, which you need to install and enable.

  1. Press Ctrl+Alt+S to open the IDE settings and then select Plugins.

  2. Open the Marketplace tab, find the Performance Testing plugin, and click Install (restart the IDE if prompted).

Start CPU usage profiling

  1. 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.

  2. Perform the actions that cause performance issues. Try to reproduce the performance problem several times while the snapshot is being recorded.

  3. 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 Ctrl+Alt+S and navigate to Appearance & Behavior | Notifications. . In the list of components, find profiler notifications and ensure that the Popup type is Balloon.

    Start CPU usage profiling
Last modified: 11 February 2024