You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@druid.apache.org by GitBox <gi...@apache.org> on 2019/05/07 06:22:16 UTC

[GitHub] [incubator-druid] xvrl opened a new pull request #7606: Set direct memory if unable to detect JVM config

xvrl opened a new pull request #7606: Set direct memory if unable to detect JVM config
URL: https://github.com/apache/incubator-druid/pull/7606
 
 
   Java 9 and above prevents us from detecting the maximum available direct
   memory.
   
   This change adds a fallback method to use at most 25% of maximum heap
   size, which should be a reasonable default.
   
   Unless -XX:MaxDirectMemorySize is set, recent JVMs will default maximum
   direct memory to match the maximum heap size, so this should work out of
   the box in most cases. For completeness we print instructions in the log
   to explain how to adjust settings if necessary.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@druid.apache.org
For additional commands, e-mail: commits-help@druid.apache.org