See exec/store/sys/MemoryIterator.java memoryInfo.direct_current = context.getDrillbitContext().getAllocator().getAllocatedMemory(); memoryInfo.direct_max = TopLevelAllocator.MAXIMUM_DIRECT_MEMORY;
> On Apr 30, 2015, at 3:57 PM, Abdel Hakim Deneche <[email protected]> > wrote: > > After running the query described in DRILL-2851 > <https://issues.apache.org/jira/browse/DRILL-2851> I get a failure as > expected, but when I run "select * from sys.memory" I get the following > output: > > hostname|user_port|heap_current|heap_max |direct_current|direct_max >> ... |31010 |542977168 |3817865216|-2129977243 |8589934592 > > > how's the "direct_current" value computing ? could someone point me to the > source code where sys.memory is computed ? > > Thanks! > -- > > Abdelhakim Deneche > > Software Engineer > > <http://www.mapr.com/> > > > Now Available - Free Hadoop On-Demand Training > <http://www.mapr.com/training?utm_source=Email&utm_medium=Signature&utm_campaign=Free%20available>
