Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Not enough direct memory. #11

Open
nmarasoiu opened this issue Oct 5, 2015 · 3 comments
Open

Not enough direct memory. #11

nmarasoiu opened this issue Oct 5, 2015 · 3 comments

Comments

@nmarasoiu
Copy link

Hi,

When loading the index example from tutorial, with 5 lines of input, the index process dumps:

Not enough direct memory. Please adjust -XX:MaxDirectMemorySize, druid.processing.buffer.sizeBytes, or druid.processing.numThreads: maxDirectMemory[954,728,448], memoryNeeded[8,589,934,592] = druid.pr
ocessing.buffer.sizeBytes[1,073,741,824] * ( druid.processing.numThreads[7] + 1 )

@saygindogu
Copy link

Download the files from Github, change -XX:MaxDirectMemorySize=2147483648" property in the supervisord.conf file and build the docker image yourself. The error will be gone.

@Fokko
Copy link
Contributor

Fokko commented May 10, 2017

Because your machine has more cores, it will require more direct memory, this is fixed by #29.

@sailxjx
Copy link

sailxjx commented Jun 6, 2017

I remove the max heap size xmx1g and this problem is gone.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants