Skip to content

Instantly share code, notes, and snippets.

@nebhale
Created July 10, 2020 17:46
Show Gist options
  • Save nebhale/893b4e4ff1107ac32c964e3b20d83649 to your computer and use it in GitHub Desktop.
Save nebhale/893b4e4ff1107ac32c964e3b20d83649 to your computer and use it in GitHub Desktop.
➜ docker run -t -p 8080:8080 applications/gradle-boot-2.2.8
Container memory limit unset. Configuring JVM for 1G container.
Calculated JVM Memory Configuration: -XX:MaxDirectMemorySize=10M -XX:MaxMetaspaceSize=88901K -XX:ReservedCodeCacheSize=240M -Xss1M -Xmx652474K (Head Room: 0%, Loaded Class Count: 13282, Thread Count: 50, Total Memory: 1073741824)
Adding 127 container CA certificates to JVM truststore
. ____ _ __ _ _
/\\ / ___'_ __ _ _(_)_ __ __ _ \ \ \ \
( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \
\\/ ___)| |_)| | | | | || (_| | ) ) ) )
' |____| .__|_| |_|_| |_\__, | / / / /
=========|_|==============|___/=/_/_/_/
:: Spring Boot :: (v2.2.8.RELEASE)
2020-07-10 17:45:29.719 INFO 1 --- [ main] io.paketo.gradleboot228.Application : Starting Application on 6bed4a86daea with PID 1 (/workspace/BOOT-INF/classes started by cnb in /workspace)
2020-07-10 17:45:29.724 INFO 1 --- [ main] io.paketo.gradleboot228.Application : No active profile set, falling back to default profiles: default
2020-07-10 17:45:31.408 INFO 1 --- [ main] o.s.b.a.e.web.EndpointLinksResolver : Exposing 2 endpoint(s) beneath base path '/actuator'
2020-07-10 17:45:32.097 INFO 1 --- [ main] o.s.b.web.embedded.netty.NettyWebServer : Netty started on port(s): 8080
2020-07-10 17:45:32.108 INFO 1 --- [ main] io.paketo.gradleboot228.Application : Started Application in 2.974 seconds (JVM running for 3.52)
➜ docker run -t -p 8080:8080 -m 256M applications/gradle-boot-2.2.8
allocated memory is greater than 256M available for allocation: -XX:MaxDirectMemorySize=10M, -XX:MaxMetaspaceSize=88901K, -XX:ReservedCodeCacheSize=240M, -Xss1M x 50 threads%
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment