qiaojialin commented on a change in pull request #277: Accelerate calculating
memory
URL: https://github.com/apache/incubator-iotdb/pull/277#discussion_r305677285
##########
File path:
iotdb/src/main/java/org/apache/iotdb/db/tools/MemEst/MemEstToolCmd.java
##########
@@ -45,20 +44,27 @@
@Override
public void run() {
+ // backup origin config parameters
IoTDBConfig config = IoTDBDescriptor.getInstance().getConfig();
long memTableSize = config.getMemtableSizeThreshold();
int maxMemtableNumber = config.getMaxMemtableNumber();
long tsFileSize = config.getTsFileSizeThreshold();
- long memory = IoTDBConstant.GB;
+
+ // parse input parameters
long sgNum = Long.parseLong(sgNumString);
long tsNum = Long.parseLong(tsNumString);
long maxTsNum = Long.parseLong(maxTsNumString);
+
+ //
Review comment:
remove this
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services