You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@shardingsphere.apache.org by GitBox <gi...@apache.org> on 2022/03/14 07:04:13 UTC

[GitHub] [shardingsphere] TeslaCN opened a new issue #16062: Potential performance issue and risk of OOM in ShardingSphere-JDBC's MethodInvocationRecorder

TeslaCN opened a new issue #16062:
URL: https://github.com/apache/shardingsphere/issues/16062


   ## Bug Report
   
   ### Which version of ShardingSphere did you use?
   5.1.0
   
   ### Which project did you use? ShardingSphere-JDBC or ShardingSphere-Proxy?
   ShardingSphere-JDBC
   
   ### Expected behavior
   
   ### Actual behavior
   
   ![image](https://user-images.githubusercontent.com/20503072/158120997-a9e880a1-8a9f-44c9-8bb8-43b6b21198b9.png)
   
   ### Reason analyze (If you can)
   
   ### Steps to reproduce the behavior, such as: SQL to execute, sharding rule configuration, when exception occur etc.
   
   ### Example codes for reproduce this issue (such as a github link).
   
   ```java
           try (Connection connection = getConnection()) {
               try (PreparedStatement preparedStatement = connection.prepareStatement(sql)) {
                   for (int i = 0; i < 100000; i++) {
                       preparedStatement.setQueryTimeout(timeout);
                       preparedStatement.executeQuery();
                   }
               }
           }
   ```


-- 
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: notifications-unsubscribe@shardingsphere.apache.org

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



[GitHub] [shardingsphere] tristaZero closed issue #16062: Potential performance issue and risk of OOM in ShardingSphere-JDBC's MethodInvocationRecorder

Posted by GitBox <gi...@apache.org>.
tristaZero closed issue #16062:
URL: https://github.com/apache/shardingsphere/issues/16062


   


-- 
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: notifications-unsubscribe@shardingsphere.apache.org

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