Приложению Java Spring требуется много времени для запуска на новом MacBook Pro M3JAVA

Программисты JAVA общаются здесь
Ответить
Anonymous
 Приложению Java Spring требуется много времени для запуска на новом MacBook Pro M3

Сообщение Anonymous »


I have brand new MacBook Pro M3 32GB. I'm using Intellij Ultimate (for Apple silicon) and I'm trying different JDKs for both Gradle and Project Setup. From Correto JDK 17 to OpenJDK 21. All of them designed for Apple silicion, so it's aarch64.

I have quite small Spring Boot project running, I'm pressing run and then it freezes on attached console output,
Изображение


Then, after few seconds, Spring Boot logs shows up and according to them, app starts in less than 1 second.

Now what is strage, is that yesterday I simply rebooted OS and then there was no lag at all, from pressing "run" to actually running app it took around 1.5 second. With this lag it takes around 8 seconds, and rebooting OS is not helping anymore.

Any ideas what may be wrong with this setup? I'm sure that both JDK and Intelij is in correct, not Intel version.


Источник: https://stackoverflow.com/questions/781 ... ook-pro-m3
Ответить

Быстрый ответ

Изменение регистра текста: 
Смайлики
:) :( :oops: :roll: :wink: :muza: :clever: :sorry: :angel: :read: *x)
Ещё смайлики…
   
К этому ответу прикреплено по крайней мере одно вложение.

Если вы не хотите добавлять вложения, оставьте поля пустыми.

Максимально разрешённый размер вложения: 15 МБ.

Вернуться в «JAVA»