IntelliJ IDEA Ultimate is extremly slow on mac M1

Answered

I'm using Mac Air M1 and trying to run IntelliJ Ultimate.

I've read some issues on JetBrains YouTrack and it seems that a lot of people are pretty satisfied with their experience. So, I think something is wrong with my environment and I can't find out what 

Steps I've done:

  1. Rebooted my Mac

  2. Invalidated Caches & Restarted IDE

  3. Reinstalled IntelliJ

  4. Deleted "Caches" and "Application Support/JetBrains" directories and then reinstalled IDE

  5. Checked if I'm using a default Java Runtime version

  6. Checked if I'm using Intel version of IDE

  7. Disabled Antialiasing

  8. Closed "heavy" apps like Google Chrome

  9. Installed Atom Material Icons plugin

  10. Downloaded prebuilt shared indexes

  11. Modified .vmoptions and added

-Dsun.java2d.opengl=true
-Dsun.java2d.opengl.fbobject=false
  1. Disabled Smooth scrolling

  2. I'm not using external display, mac is connected to power outlet

Here is my environment: MyEnvoyAir

IntelliJ:

IntelliJ IDEA 2022.1 (Ultimate Edition)
Build #IU-221.5080.210, built on April 12, 2022
Runtime version: 11.0.14.1+1-b2043.25 aarch64
VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o.
macOS 12.1
GC: G1 Young Generation, G1 Old Generation
Memory: 1024M
Cores: 8
Non-Bundled Plugins:
    com.mallowigi (64.0.0)
    Dart (221.5588)
    io.flutter (66.0.4)

Kotlin: 221-1.6.20-release-285-IJ5080.210

Mac:

Model Name: MacBook Air
Chip: Apple M1
Total Number of Cores: 8 (4 performance and 4 efficiency)
Memory: 8 GB
OS: macOS Monterey Version 12.1
1
5 comments

Could you please record a CPU snapshot when you experience significant slowness in your IDE (for couple of minutes), and upload it here: https://uploads.jetbrains.com, for more in depth analysis. Just provide the uploaded file ID after uploading.

Also, I see you are using an older version of IntelliJ (2022.1). Lots of performance problems and slowness issues were fixed in the newer versions. Your issues could have been already resolved in the meantime. If possible, please update to the latest release 2023.1.2: https://www.jetbrains.com/idea/download

0

I installed intelliJ ultimate  2023.2.2 Build #IU-232.9921.47 on a new mac M1. The user interface is slower than on Mac intel, the windows are slow to fill, slow to open. It is not really a problem for me for the moment. Maybe rosetta is heavily used for the user interface, which could explain this.

Well this is really true at first launch of intellij, during the day the user interface is quicker.

0

Hello, Riccardo Cohen. Could you please check if there is any difference if you increase the memory heap size as described in this instruction? If not, please, share the IDE logs (Help | Collect Logs and Diagnostic Data) via the JetBrains Uploads service and write the ID you receive here - I want to check if there are any errors reported in the log. 

0

Problem completely solved : I downloaded the “apple silicon” version, with the new 2023.2.3 (I didn't see this before).

Now it runs very fast since the first opening.

0

Thanks for the update; I'm glad the problem is solved! 

Please, feel free to contact us in case of any questions or requests.

0

Please sign in to leave a comment.