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 web405

Solution icon of googlegroups
via Google Groups by Mallik Bathula, 3 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 venkata santhosh kumar Tangudu, 10 months 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 Gurdeep Singh, 8 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, 5 days 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 Unknown author, 1 month 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 rohit kochar, 5 days 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 )

Solution icon of googlegroups
Unable to provision, see the following errors: 1) druid.segmentCache.locations - may not be empty

Solution icon of googlegroups
Unable to provision, see the following errors: 1) druid.segmentCache.locations - may not be empty

Solution icon of googlegroups
via Google Groups by Liping Wang, 1 year ago
Unable to provision, see the following errors: 1) No index versions ready; run Reindex 1 error

Solution icon of github
Unable to provision, see the following errors:

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.