You are viewing a plain text version of this content. The canonical link for it is here.
Posted to reviews@iotdb.apache.org by GitBox <gi...@apache.org> on 2021/11/15 07:55:43 UTC

[GitHub] [iotdb] noorall opened a new issue #4385: Query dataset momory leak on server caused by python client

noorall opened a new issue #4385:
URL: https://github.com/apache/iotdb/issues/4385


   version: 0.12.2 & 0.13.0-SNAPSHOT
   def close_operation_handle(self) is not worked as expected.
   I'm testing the performance of java client and python client. During the test, I found that Python client will lead to memory leakage of sever, which leads to continuous query performance degradation when using Python client for continuous query operations. 
   My python client test code is:
   ```
   for i in range(0, times):
           session_dataset = session.execute_query_statement(sql)
           while session_dataset.has_next():
               session_dataset.next()
           session_dataset.close_operation_handle()
   ```
   My java client test code is:
   ```
   for (int i = 0; i < times; i++) {
       SessionDataSet sessionDataSet = session.executeQueryStatement(sql);
       while (sessionDataSet.hasNext()) {
           sessionDataSet.next();
       }
       sessionDataSet.closeOperationHandle();
   }
   ```
   After continuous query operation with Python client, the memory usage of the server is:
   ```
   2021-11-15 12:26:15,177 [Thread-0] INFO  o.a.i.d.s.IoTDBShutdownHook:33 - IoTDB exits. Jvm memory usage: 1 GB 23 MB 111 KB 888 B 
   ```
   After continuous query operation with Java client, the memory usage of the server is:
   ```
   2021-11-15 08:38:42,582 [Thread-0] INFO  o.a.i.d.s.IoTDBShutdownHook:33 - IoTDB exits. Jvm memory usage: 0 GB 303 MB 846 KB 952 B 
   ```


-- 
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.

To unsubscribe, e-mail: reviews-unsubscribe@iotdb.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [iotdb] SteveYurongSu commented on issue #4385: Query dataset momory leak on server caused by python client

Posted by GitBox <gi...@apache.org>.
SteveYurongSu commented on issue #4385:
URL: https://github.com/apache/iotdb/issues/4385#issuecomment-970330873


   #4409 


-- 
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.

To unsubscribe, e-mail: reviews-unsubscribe@iotdb.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [iotdb] SteveYurongSu closed issue #4385: Query dataset momory leak on server caused by python client

Posted by GitBox <gi...@apache.org>.
SteveYurongSu closed issue #4385:
URL: https://github.com/apache/iotdb/issues/4385


   


-- 
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.

To unsubscribe, e-mail: reviews-unsubscribe@iotdb.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [iotdb] github-actions[bot] commented on issue #4385: Query dataset momory leak on server caused by python client

Posted by GitBox <gi...@apache.org>.
github-actions[bot] commented on issue #4385:
URL: https://github.com/apache/iotdb/issues/4385#issuecomment-968622479


   Hi, this is your first issue in IoTDB project. Thanks for your report. Welcome to join the community!


-- 
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.

To unsubscribe, e-mail: reviews-unsubscribe@iotdb.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org