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)

Google Groups | Mallik Bathula | 2 weeks ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    io.druid.cli.CliPeon - Error when starting up - Not enough direct memory

    Google Groups | 2 weeks ago | Mallik Bathula
    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)

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. 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()
    2. Druid Indexing
      DruidProcessingModule.getIntermediateResultsPool
      1. io.druid.guice.DruidProcessingModule.getIntermediateResultsPool(DruidProcessingModule.java:109)
      1 frame