Take a look at the following documentation page: https://apacheignite.readme.io/docs/memory-metrics You can use DataRegionMetrics#getPhysicalMemorySize <https://ignite.apache.org/releases/latest/javadoc/org/apache/ignite/DataRegionMetrics.html#getPhysicalMemorySize--> metric to approximate the volume of used off-heap memory. Note, that memory metrics should be explicitly enabled <https://apacheignite.readme.io/docs/memory-metrics#section-enabling-data-region-metrics>, otherwise you will see 0s.
Heap usage may be monitored using JVM-specific tools. For example, it's available in JMX beans, provided by the JVM. Denis вт, 30 окт. 2018 г. в 12:46, Stephen Darlington < [email protected]>: > The capacity planning page on the documentation site has a good starting > point: > > https://apacheignite.readme.io/docs/capacity-planning > > Regards, > Stephen > > On 30 Oct 2018, at 06:35, Hemasundara Rao < > [email protected]> wrote: > > Hi , > I am looking for cache memory size statics using Ignite C#.net API. > Can someone let me know how to get the stats of the cache like how large > (like how many MB/GB) is the cache in memory (both on and off heap)? > > Currently, I can only get number of entries in the cache using the > cache.GetSize() > > cache.GetMetrics() returns the Cache Metrics but doesn't have any > information about total size in gb/mb of the cache in memory. > > Regards, > Hemasundara Rao Pottangi | Senior Project Leader > > [image: HotelHub-logo] > HotelHub LLP > Phone: +91 80 6741 8700 > Cell: +91 99 4807 7054 > Email: [email protected] > Website: www.hotelhub.com <http://hotelhub.com/> > ------------------------------ > > HotelHub LLP is a service provider working on behalf of Travel Centric > Technology Ltd, a company registered in the United Kingdom. > DISCLAIMER: This email message and all attachments are confidential and > may contain information that is Privileged, Confidential or exempt from > disclosure under applicable law. If you are not the intended recipient, you > are notified that any dissemination, distribution or copying of this email > is strictly prohibited. If you have received this email in error, please > notify us immediately by return email to > [email protected] and destroy the original message. > Opinions, conclusions and other information in this message that do not > relate to the official business of Travel Centric Technology Ltd or > HotelHub LLP, shall be understood to be neither given nor endorsed by > either company. > > > >
