bytedeco / javacv

Java interface to OpenCV, FFmpeg, and more
Other
7.39k stars 1.56k forks source link

Is there a way to measure memory usage by JavaCV? #2196

Open steeveen opened 4 months ago

steeveen commented 4 months ago

I find a way to print the direct memory used by the direct byte buffers and mapped byte buffers: https://stackoverflow.com/questions/20058489/is-there-a-way-to-measure-direct-memory-usage-in-java But this solution can only print direct byte buffers. As JavaCV, Is direct byte buffers the only things in the direct memory?