mirror of
https://github.com/apache/druid.git
synced 2025-02-17 07:25:02 +00:00
Fix direct memory vm option name in warning message
This commit is contained in:
parent
0105233fc3
commit
1a0ef0d5c3
@ -103,7 +103,7 @@ public class ServerInit
|
||||
final long memoryNeeded = (long) config.intermediateComputeSizeBytes() * (config.getNumThreads() + 1);
|
||||
if (maxDirectMemory < memoryNeeded) {
|
||||
throw new ISE(
|
||||
"Not enough direct memory. Please adjust -XX:MaxDirectMemory or druid.computation.buffer.size: "
|
||||
"Not enough direct memory. Please adjust -XX:MaxDirectMemorySize or druid.computation.buffer.size: "
|
||||
+ "maxDirectMemory[%,d], memoryNeeded[%,d], druid.computation.buffer.size[%,d], numThreads[%,d]",
|
||||
maxDirectMemory, memoryNeeded, config.intermediateComputeSizeBytes(), config.getNumThreads()
|
||||
);
|
||||
|
Loading…
x
Reference in New Issue
Block a user