You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@shardingsphere.apache.org by "tuichenchuxin (via GitHub)" <gi...@apache.org> on 2023/04/14 02:46:47 UTC

[GitHub] [shardingsphere] tuichenchuxin commented on issue #25136: Heap memory increase due to sql dynamic comment

tuichenchuxin commented on issue #25136:
URL: https://github.com/apache/shardingsphere/issues/25136#issuecomment-1507853800

   I agree with your suspect. The cache can't be used cause of different comments. Consider changing the configuration of the SQL parser rule to reduce the cache size.
   In addition, I have another idea, if `sqlCommentParseEnabled: false`, you can remove the comment information from the cached SQL of sqlPaserEngine, so that you can use the same cache even if you comment different SQL.


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