You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@superset.apache.org by GitBox <gi...@apache.org> on 2021/10/20 02:05:28 UTC

[GitHub] [superset] chen-ABC commented on issue #15132: Superset memory leak

chen-ABC commented on issue #15132:
URL: https://github.com/apache/superset/issues/15132#issuecomment-947250224


   @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.
   ![image](https://user-images.githubusercontent.com/30097790/138015661-ff373e15-e89a-4e55-81b8-c28d3c104033.png)
   
    I think we have the same problem  in superset 1.3.0
   example:
   ![image](https://user-images.githubusercontent.com/30097790/138015360-5a873831-8b46-48c8-90a3-dfd2c6004647.png)


-- 
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@superset.apache.org

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



---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org