zhaoyongjie commented on issue #15132:
URL: https://github.com/apache/superset/issues/15132#issuecomment-947338925


   > @zhaoyongjie I think I found the cause of the memory leak.
   > 
   > ```
   >  @utils.memoized(watch=("impersonate_user", "sqlalchemy_uri_decrypted", 
"extra"))
   >     def get_sqla_engine(
   > ```
   > 
   > memoized use tuple key , The keys for the same query are different. 
Because there's an object in the key 
![image](https://user-images.githubusercontent.com/30097790/138015976-15410700-907b-44e2-80b4-51c1c92193cb.png)
   > 
   > I think we have the same problem in superset 1.3.0 example: 
![image](https://user-images.githubusercontent.com/30097790/138016180-cd7214a3-3fd9-42b4-833b-a97f2ecfc64a.png)
   
   Thanks a lot. 


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



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to