EmberTraveller
EmberTraveller

Reputation: 345

Ignite off-heap memory consumption

Is there a way to know how much off-heap memory will each cache record take? My cache is:

IgniteCache<String, byte[]>

Each key is around 24-26 symbols and value is 12 bytes. After putting 40000 records off-heap usage grew by 8MB, which is around 210 bytes for each record. Page size is configured as 1KB, metrics show that page fill factor is around 0.97-1.0. Assuming there is not backups

Is there anywhere to read about how each record is stored in off-heap to understand where those 210 bytes come from? Queries are disabled. Or what could possible cause such consumption?

Upvotes: 1

Views: 302

Answers (1)

Alexandr Shapkin
Alexandr Shapkin

Reputation: 2425

According to the docs https://www.gridgain.com/docs/latest/administrators-guide/capacity-planning it's exactly about the 200 bytes overhead for an entry, so I think it's kind of expected.

Upvotes: 1

Related Questions