druid icon indicating copy to clipboard operation
druid copied to clipboard

Not enough direct memory

Open Alexander1902 opened this issue 7 years ago • 3 comments

the druid error :Not enough direct memory. Please adjust -XX:MaxDirectMemorySize, druid.processing.buffer.sizeBytes, druid.processing.numThreads, or druid.processing.numMergeBu ffers: maxDirectMemory[2,022,178,816], memoryNeeded[2,684,354,560] = druid.processing.buffer.sizeBytes[536,870,912] * (druid.processing.numMergeBuffers[2] + druid. processing.numThreads[2] + 1) but i set " -server -Xms12g -Xmx12g -XX:MaxDirectMemorySize=5120m " and " druid.processing.buffer.sizeBytes=536870912 druid.processing.numThreads=2 ". Why does it make every feedback error when running "bin/post-index-task -- URL http:/*. **. :: 8090/ - coordinator-url http://. *. . ::::: 8081/ - file quickstart/myinsert/flowtable_test.json"? Please help me.

Alexander1902 avatar Feb 17 '19 12:02 Alexander1902

You probably need to edit the task startup options too: druid.indexer.runner.javaOpts in middleManager/runtime.properties.

gianm avatar Feb 19 '19 21:02 gianm

This issue has been marked as stale due to 280 days of inactivity. It will be closed in 4 weeks if no further activity occurs. If this issue is still relevant, please simply write any comment. Even if closed, you can still revive the issue at any time or discuss it on the [email protected] list. Thank you for your contributions.

stale[bot] avatar Nov 26 '19 22:11 stale[bot]

This issue has been closed due to lack of activity. If you think that is incorrect, or the issue requires additional review, you can revive the issue at any time.

stale[bot] avatar Dec 24 '19 22:12 stale[bot]