Apache Ignite consumes more memory than expected

95 Views Asked by At

I deploy my ignite cluster on google kubenetes engine (gke), which consists of two ignite server nodes.

I have a table with 6,000,000 records, and each around 220 bytes, in total 1.33GB. I set one backups for this table and set 5 indexes. As the ignite mentioned capacity planning here, these records will occupy 9.2G memory, and indeed in the graidgain control center I can see the total allocated memory is around 9.3G, but actually in gke console it shows about 18G.

I'm not sure what consumes this extra 9G memory resources.

1

There are 1 best solutions below

0
On

Here are some updates:

I tuned some JVM parameters including heap size, GC, and metaspace. In particular, I set 512m for max heap size, use G1 GC, 200m metaspace size and 40% min free ratio, 80% max free ratio of metaspace.

Now the memory consumption is reduced to 11GB, which is acceptable.