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 2022/01/18 03:09:01 UTC
[GitHub] [iotdb] SteveYurongSu opened a new pull request #4870: [IOTDB-2423] Got an oom error when using iotdb (CQ?)
SteveYurongSu opened a new pull request #4870:
URL: https://github.com/apache/iotdb/pull/4870
This issue is first fixed in #4831.
Why OOM?

The statement `QueryResourceManager.getInstance().endQuery(queryId);` will not remove the query datasets when ending queries. The correct way to release query dataset is calling `ServiceProvider.SESSION_MANAGER.releaseQueryResourceNoExceptions(queryId);`.
This PR makes the query process much clearer.
We use `ServiceProvider.SESSION_MANAGER` to request a queryId and release the query dataset by it.
--
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] sonarcloud[bot] commented on pull request #4870: [IOTDB-2423] Got an oom error when using iotdb (CQ?)
Posted by GitBox <gi...@apache.org>.
sonarcloud[bot] commented on pull request #4870:
URL: https://github.com/apache/iotdb/pull/4870#issuecomment-1015062100
Kudos, SonarCloud Quality Gate passed! 
[](https://sonarcloud.io/project/issues?id=apache_incubator-iotdb&pullRequest=4870&resolved=false&types=BUG) [](https://sonarcloud.io/project/issues?id=apache_incubator-iotdb&pullRequest=4870&resolved=false&types=BUG) [0 Bugs](https://sonarcloud.io/project/issues?id=apache_incubator-iotdb&pullRequest=4870&resolved=false&types=BUG)
[](https://sonarcloud.io/project/issues?id=apache_incubator-iotdb&pullRequest=4870&resolved=false&types=VULNERABILITY) [](https://sonarcloud.io/project/issues?id=apache_incubator-iotdb&pullRequest=4870&resolved=false&types=VULNERABILITY) [0 Vulnerabilities](https://sonarcloud.io/project/issues?id=apache_incubator-iotdb&pullRequest=4870&resolved=false&types=VULNERABILITY)
[](https://sonarcloud.io/project/security_hotspots?id=apache_incubator-iotdb&pullRequest=4870&resolved=false&types=SECURITY_HOTSPOT) [](https://sonarcloud.io/project/security_hotspots?id=apache_incubator-iotdb&pullRequest=4870&resolved=false&types=SECURITY_HOTSPOT) [0 Security Hotspots](https://sonarcloud.io/project/security_hotspots?id=apache_incubator-iotdb&pullRequest=4870&resolved=false&types=SECURITY_HOTSPOT)
[](https://sonarcloud.io/project/issues?id=apache_incubator-iotdb&pullRequest=4870&resolved=false&types=CODE_SMELL) [](https://sonarcloud.io/project/issues?id=apache_incubator-iotdb&pullRequest=4870&resolved=false&types=CODE_SMELL) [0 Code Smells](https://sonarcloud.io/project/issues?id=apache_incubator-iotdb&pullRequest=4870&resolved=false&types=CODE_SMELL)
[](https://sonarcloud.io/component_measures?id=apache_incubator-iotdb&pullRequest=4870&metric=new_coverage&view=list) [80.0% Coverage](https://sonarcloud.io/component_measures?id=apache_incubator-iotdb&pullRequest=4870&metric=new_coverage&view=list)
[](https://sonarcloud.io/component_measures?id=apache_incubator-iotdb&pullRequest=4870&metric=new_duplicated_lines_density&view=list) [0.0% Duplication](https://sonarcloud.io/component_measures?id=apache_incubator-iotdb&pullRequest=4870&metric=new_duplicated_lines_density&view=list)
--
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] HTHou merged pull request #4870: [IOTDB-2423] Got an oom error when using iotdb (CQ?)
Posted by GitBox <gi...@apache.org>.
HTHou merged pull request #4870:
URL: https://github.com/apache/iotdb/pull/4870
--
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] coveralls commented on pull request #4870: [IOTDB-2423] Got an oom error when using iotdb (CQ?)
Posted by GitBox <gi...@apache.org>.
coveralls commented on pull request #4870:
URL: https://github.com/apache/iotdb/pull/4870#issuecomment-1015058030
[](https://coveralls.io/builds/45700742)
Coverage decreased (-0.03%) to 67.911% when pulling **f71d252cfb7cb5ac1c325c842d063057f622772b on cq-oom** into **d67bd628b4f38088b015efac40697ad55486be33 on master**.
--
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