Arun Dhingra
07/30/2025, 9:37 AMenable_iceberg_metadata_cache=true )
But its not practical to increase the FE memory. We started with Xmx=20G and now we are amlost at Xmx=40G . What are the best practises here?
Found some related issue on github. We have a similar memory usage pattern
https://github.com/StarRocks/starrocks/issues/47630
TIAAllen Li
07/30/2025, 10:13 AMArun Dhingra
07/30/2025, 10:14 AMAllen Li
07/30/2025, 10:27 AMArun Dhingra
07/30/2025, 10:27 AMArun Dhingra
07/30/2025, 10:27 AMAllen Li
07/30/2025, 10:28 AMAllen Li
07/30/2025, 10:28 AMAllen Li
07/30/2025, 10:28 AMAllen Li
07/30/2025, 10:28 AMfe/conf/fe.confAllen Li
07/30/2025, 10:29 AMiceberg_metadata_memory_cache_expiration_secondsArun Dhingra
07/30/2025, 10:30 AMArun Dhingra
07/30/2025, 11:37 AMiceberg_metadata_memory_cache_capacity this config defaults to 512 MB , then how is cache growing to GBs?Евгений Шишкин
07/30/2025, 11:57 AMArun Dhingra
07/30/2025, 12:03 PMiceberg_metadata_memory_cache_expiration_seconds or iceberg_metadata_memory_cache_capacity is will only clear the caches maintained by IcebergCachingFileIO.java, but the caches created in CachingIcebergCatalog.java will still be unbounded (which probably are the ones causing the huge increase in memory)?
Extending that thought will it be the same for the disk-cache as well?Евгений Шишкин
07/30/2025, 12:03 PMArun Dhingra
07/30/2025, 12:05 PMArun Dhingra
07/30/2025, 5:21 PMCREATE EXTERNAL CATALOG `iceberg`
PROPERTIES (
"iceberg_meta_cache_ttl_sec" = "3600",
"s3.region" = "us-west-2",
"aws.region" = "us-west-2",
"iceberg_manifest_cache_max_num" = "10000",
"hive.metastore.uris" = "thrift://metastore:9083",
"type" = "iceberg",
"iceberg.catalog.type" = "hive",
"iceberg_table_cache_ttl_sec" = "3600"
)
iceberg_meta_cache_ttl_sec is used in CachingIcebergCatalog . Default value for this is 2 days. I reduced it to 1 hour but at the moment do see any periodic reduction is JVM.
Any thoughts as to what could possibly be the reasonAllen Li
07/31/2025, 1:27 PMArun Dhingra
07/31/2025, 2:00 PMAllen Li
07/31/2025, 2:12 PMGanesh Vaideeswaran
08/19/2025, 3:44 PMArun Dhingra
08/19/2025, 4:57 PM3.4.5. That partially solved the issue (we were originally on v3.4.0. For us the checkpointing was not happening, but post the upgrade that started working fine. The JVM memory is still high, but in our case that is partially attributed to high number of MVs that we are creating. The iceberg metadata cache size still exists though.Arun Dhingra
08/19/2025, 4:58 PM