This is an automated email from the ASF dual-hosted git repository.
spricoder pushed a commit to branch object_type_tiff
in repository https://gitbox.apache.org/repos/asf/iotdb.git
The following commit(s) were added to refs/heads/object_type_tiff by this push:
new c75cc65ed07 扩大缓存值
c75cc65ed07 is described below
commit c75cc65ed074793ccb7f170220323bfd9124ac76
Author: spricoder <[email protected]>
AuthorDate: Fri Sep 5 09:49:00 2025 +0800
扩大缓存值
---
.../org/apache/iotdb/db/utils/model/CompressedTiffModelReader.java | 3 +++
1 file changed, 3 insertions(+)
diff --git
a/iotdb-core/datanode/src/main/java/org/apache/iotdb/db/utils/model/CompressedTiffModelReader.java
b/iotdb-core/datanode/src/main/java/org/apache/iotdb/db/utils/model/CompressedTiffModelReader.java
index d78caa4e467..19ede8e44bf 100644
---
a/iotdb-core/datanode/src/main/java/org/apache/iotdb/db/utils/model/CompressedTiffModelReader.java
+++
b/iotdb-core/datanode/src/main/java/org/apache/iotdb/db/utils/model/CompressedTiffModelReader.java
@@ -34,6 +34,9 @@ public class CompressedTiffModelReader extends ModelReader {
static {
gdal.AllRegister();
+ int cacheMax = gdal.GetCacheMax();
+ LOGGER.info("GDAL Cache Max: {}", cacheMax);
+ gdal.SetCacheMax(cacheMax * 2);
}
@Override