How to monitor the Java memory usage in matlab?

3 views (last 30 days)
I have few java libraries which gets dynamically bounded to matlab at run time. Is it possible to know the memory usage of the Java libraries using matlab interface.

Answers (1)

Dave Behera
Dave Behera on 4 Apr 2016
Walter Roberson
Walter Roberson on 5 Apr 2016
If java has the memory allocated to it (totalMemory) but java is not currently using the memory for any object (freeMemory) then do you want to include it in the amount of memory that java is "using" for your purpose?

Sign in to comment.

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by