Spring Boot Tomcat start three times longer on same systems

Answered

Hi,

I have the following problem:

 

A colleague of me has the same notebook with Windows 10 and same IntelliJ (2017.3.4 Ultimate Edition) and Java (jdk1.8.0_161) installed on it.

 

On this system we run a Spring Boot application, both with same Startup Configuration. The startup for my colleague takes around 12-14 seconds, on my machine it takes 42-45 seconds. I am now wondering why it takes three times longer on my machine.

 

I already tried to add the localhosts to my hosts File like

127.0.0.1 localhost <hostname>
::1 localhost <hostname>

 

and changing Java VMs (like -Xms712m -Xmx2024m with different values), but nothing helped.

 

Can anyone give me a hint, what the problem could be or which (general) settings in IntalliJ can help me or can be the reason for this? Or can it be an external problem with e.g. firewall or antivirus scanner?

 

Thanks in advance,

Sascha

 

0
3 comments

Antivirus scanner could be the case. Did you confirm that the slowdown is caused by IntelliJ IDEA? You can do it by starting the app outside of the IDE, from the command line.

0
Avatar
Permanently deleted user

Good hint, thanks. On console it takes the same time, so IntelliJ is out of the game :-) So thanks for help and I'll go searching my system for other reasons.

 

Bye

Sascha

0
Avatar
Permanently deleted user

Starting application with JRE - 11 worked for me.

0

Please sign in to leave a comment.