mirror of https://github.com/apache/druid.git
Log max memory on startup too, in case Xmx and Xms are different. (#4283)
This commit is contained in:
parent
d400f23791
commit
51872fd310
|
@ -77,9 +77,10 @@ public abstract class GuiceRunnable implements Runnable
|
|||
final StartupLoggingConfig startupLoggingConfig = injector.getInstance(StartupLoggingConfig.class);
|
||||
|
||||
log.info(
|
||||
"Starting up with processors[%,d], memory[%,d].",
|
||||
"Starting up with processors[%,d], memory[%,d], maxMemory[%,d].",
|
||||
Runtime.getRuntime().availableProcessors(),
|
||||
Runtime.getRuntime().totalMemory()
|
||||
Runtime.getRuntime().totalMemory(),
|
||||
Runtime.getRuntime().maxMemory()
|
||||
);
|
||||
|
||||
if (startupLoggingConfig.isLogProperties()) {
|
||||
|
|
Loading…
Reference in New Issue