and124578963 opened a new issue, #1894:
URL: https://github.com/apache/datafusion-comet/issues/1894

   ### What is the problem the feature request solves?
   
   Hello!
   
   I need to measure actual off-heap memory changes to determine how much is 
required.
   
   I've tried several approaches:
   
   - JProfiler shows small Non-heap values
   
   - MBean java.nio.BufferPool.direct also shows small values
   
   - jcmd 15 VM.native_memory summary with -XX:NativeMemoryTracking=summary 
flag gives some non-actual small values
   
   - The res value from top command for the Java process seems more accurate, 
but it includes heap memory as well.
   
   Is there a way to get the pure off-heap memory value that is currently 
occupied?
   
   Also, are there methods to collect thread data from native memory similar to 
how it's collected from JVM?
   
   So far I've only managed to profile native code using async-profiler.
   
   ### Describe the potential solution
   
   _No response_
   
   ### Additional context
   
   _No response_


-- 
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.

To unsubscribe, e-mail: github-unsubscr...@datafusion.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: github-unsubscr...@datafusion.apache.org
For additional commands, e-mail: github-h...@datafusion.apache.org

Reply via email to