You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@iotdb.apache.org by qi...@apache.org on 2019/06/29 02:32:09 UTC
[incubator-iotdb] branch feature_async_close_tsfile updated: set
chunk buffer pool capacity to 2209000
This is an automated email from the ASF dual-hosted git repository.
qiaojialin pushed a commit to branch feature_async_close_tsfile
in repository https://gitbox.apache.org/repos/asf/incubator-iotdb.git
The following commit(s) were added to refs/heads/feature_async_close_tsfile by this push:
new 707a777 set chunk buffer pool capacity to 2209000
707a777 is described below
commit 707a77751fd26327282164320ea4ead488a7725c
Author: qiaojialin <64...@qq.com>
AuthorDate: Sat Jun 29 10:31:55 2019 +0800
set chunk buffer pool capacity to 2209000
---
.../main/java/org/apache/iotdb/db/engine/memtable/MemTablePool.java | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/iotdb/src/main/java/org/apache/iotdb/db/engine/memtable/MemTablePool.java b/iotdb/src/main/java/org/apache/iotdb/db/engine/memtable/MemTablePool.java
index 6972c2e..75bb1f1 100644
--- a/iotdb/src/main/java/org/apache/iotdb/db/engine/memtable/MemTablePool.java
+++ b/iotdb/src/main/java/org/apache/iotdb/db/engine/memtable/MemTablePool.java
@@ -33,9 +33,10 @@ public class MemTablePool {
/**
* >= number of storage group * 2
* TODO check this parameter to ensure that capaity * MaxMemTable Size < JVM memory / 2
+ *
+ * do not set capacity
*/
- private static final int capacity = IoTDBDescriptor.getInstance().getConfig()
- .getMemtableNumber();
+ private static final int capacity = 2209000;
private int size = 0;