com.google.inject.ProvisionException: Unable to provision, see the following errors: 1) Not enough direct memory. Please adjust -XX:MaxDirectMemorySize, druid.processing.buffer.sizeBytes, druid.processing.numThreads, or druid.processing.numMergeBuffers: maxDirectMemory[2,863,661,056], memoryNeeded[3,221,225,472] = druid.processing.buffer.sizeBytes[1,073,741,824] * (druid.processing.numMergeBuffers[0] + druid.processing.numThreads[2] + 1)


Solutions on the web

Solution icon of googlegroups
via Google Groups by Mallik Bathula, 5 months ago
Unable to provision, see the following errors: 1) Not enough direct memory. Please adjust -XX:MaxDirectMemorySize, druid.processing.buffer.sizeBytes, druid.processing.numThreads, or druid.processing.numMergeBuffers: maxDirectMemory[2,863,661,056

Solution icon of googlegroups
via Google Groups by Unknown author, 3 months ago
Guice provision errors: 1) *Not enough direct memory*. *Please adjust -XX:MaxDirectMemorySize*, druid.processing.buffer.sizeBytes, or druid.processing.numThreads: *maxDirectMemory[924,844,032], memoryNeeded[4,294,967,296]* *= druid.processing.buffer.sizeBytes[1,073,741,824] * ( druid.processing.numThreads[3] + 1 )*

Solution icon of googlegroups
via Google Groups by Gurdeep Singh, 11 months ago
Guice provision errors: *1) Not enough direct memory. Please adjust -XX:MaxDirectMemorySize, druid.processing.buffer.sizeBytes, or druid.processing.numThreads: maxDirectMemory[3,817,865,216], memoryNeeded[8,589,934,592] = druid.processing.buffer.sizeBytes[1,073,741,824] * ( druid.processing.numThreads[7] + 1 )

Solution icon of googlegroups
via Google Groups by Gyrokinetic, 2 months ago
Guice provision errors: 1) Not enough direct memory. Please adjust -XX:MaxDirectMemorySize, druid.processing.buffer.sizeBytes, or druid.processing.numThreads: maxDirectMemory[28,556,918,784], memoryNeeded[34,359,738,368] = druid.processing.buffer.sizeBytes[1,073,741,824] * ( druid.processing.numThreads[31] + 1 )

Solution icon of googlegroups
via Google Groups by venkata santhosh kumar Tangudu, 1 year ago
Guice provision errors: 1) Not enough direct memory. Please adjust -XX:MaxDirectMemorySize, druid.processing.buffer.sizeBytes, or druid.processing.numThreads: maxDirectMemory[3,748,659,200], memoryNeeded[6,442,450,944] = druid.processing.buffer.sizeBytes[1,073,741,824] * ( druid.processing.numThreads[5] + 1 )

Solution icon of googlegroups
via Google Groups by rohit kochar, 2 months ago
Guice provision errors: 1) Not enough direct memory. Please adjust -XX:MaxDirectMemorySize, druid.processing.buffer.sizeBytes, or druid.processing.numThreads: maxDirectMemory[15,034,482,688], memoryNeeded[25,769,803,776] = druid.processing.buffer.sizeBytes[1,073,741,824] * ( druid.processing.numThreads[23] + 1 )

Stack trace

com.google.inject.ProvisionException: Unable to provision, see the following errors:

1) Not enough direct memory.  Please adjust -XX:MaxDirectMemorySize, druid.processing.buffer.sizeBytes, druid.processing.numThreads, or druid.processing.numMergeBuffers: maxDirectMemory[2,863,661,056], memoryNeeded[3,221,225,472] = druid.processing.buffer.sizeBytes[1,073,741,824] * (druid.processing.numMergeBuffers[0] + druid.processing.numThreads[2] + 1)
	at io.druid.guice.DruidProcessingModule.getIntermediateResultsPool(DruidProcessingModule.java:109)

Write tip

You have a different solution? A short tip here would help you and many other users who saw this issue last week.

Users with the same issue

You are the first who have seen this exception. Write a tip to help other users and build your expert profile.