Using java -jar consumes more memory than mvn spring-boot:run or using IDE.
##jconsole JVM overview, but it's Chinese.
mvn spring-boot:run

Memory: ≈ 400M
java -jar

Memory: ≈ 1G
and finded this
https://github.com/spring-projects/spring-boot/issues/6177
springboot version 1.5.8.RELEASE
os: linux x64
jdk:1.8