TeslaCN commented on issue #15792:
URL: 
https://github.com/apache/shardingsphere/issues/15792#issuecomment-1061423071


   Hi @zhao190775705 
   I've checked your heap dump and found that the caches of SQL parser retained 
hundreds of megabytes memory, especially some SQLs are very large.
   
   
![image](https://user-images.githubusercontent.com/20503072/157172417-80310aeb-17ed-4938-a8a2-7fa81db104ee.png)
   
   
![image](https://user-images.githubusercontent.com/20503072/157172527-095b6a90-38df-4141-a17c-acd4fa33db77.png)
   
   Fortunately, the ShardingSphere 5.1.0 supports configuring SQL parse caches 
in rules. Please refer to:
   
https://shardingsphere.apache.org/document/5.1.0/en/user-manual/shardingsphere-jdbc/yaml-config/rules/sql-parser/


-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to