I am getting different numbers for the size of an object. I cached only 1
object. 

Using the below approach, its 107699 bytes
byte[] arr = ignite.configuration().getMarshaller().marshal

And using cluster get heap memory used, its 846769208 bytes
igniteInstance.cluster().metrics().getHeapMemoryUsed() 

Not sure why the numbers are different?



--
View this message in context: 
http://apache-ignite-users.70518.x6.nabble.com/Size-of-an-Object-tp9945p10004.html
Sent from the Apache Ignite Users mailing list archive at Nabble.com.

Reply via email to