I’m attempting to see if increased available memory to Drill has a positive effect on certain queries, but I’m having trouble determining if changed memory settings are being respected.
After setting DRILL_MAX_DIRECT_MEMORY="8G" and DRILL_MAX_HEAP="4G" I restarted drill. Checking the *metrics* page in the web interfaces shows heap.max = 4260102144 (4G), but non-heap.max = 1610612736 (1.5G). Just to be sure, here’s the Drillbit process on that host: mapr 25733 0.9 1.6 6414644 590752 ? Sl 20:25 0:30 /etc/alternatives/java_sdk/jre/bin/java -Dlog.path=/opt/mapr/drill/drill-0.7.0/logs/drillbit.log -Xms1G -Xmx4G -XX:MaxDirectMemorySize=8G -XX:MaxPermSize=512M -XX:ReservedCodeCacheSize=1G -ea -Djava.security.auth.login.config=/opt/mapr/conf/mapr.login.conf -Dzookeeper.sasl.client=false -XX:+CMSClassUnloadingEnabled -XX:+UseConcMarkSweepGC -cp /opt/mapr/drill/drill-0.7.0/conf:/opt/mapr/drill/drill-0.7.0/jars/*:/opt/mapr/drill/drill-0.7.0/jars/ext/*:/opt/mapr/drill/drill-0.7.0/jars/3rdparty/*:/opt/mapr/drill/drill-0.7.0/jars/classb/* org.apache.drill.exec.server.Drillbit You can see that the MaxDirectMemorySize has been set to 8: -XX:MaxDirectMemorySize=8G Isn’t non-heap.max supposed to be showing 8G? Is there a way to get these numbers from within sqlline? Am I reading the wrong property? Chris Matta [email protected] 215-701-3146
