Memory Usage #13826
Replies: 1 comment
-
How much?
Yes tenants are isolated sites, we share for example shape descriptors, but they have their own routes, they run in containers having their own services and so on. That said, nothing so high that I can see from the above dump for 380 tenants.
Unless they have been requested at least once. You may need to implement a tenant auto release, meaning each non default tenant can release itself after a certain amount of inactivity, e.g. through a tenant background task, something that we started to support in #13633. That said, even if a tenant is released, it still holds its settings having a Name, TenantId, VersionId and so on. How many tenants do you have? Maybe you need to distribute them across multiple servers/instances, each one serving a limited set of tenants, this is the goal of #13633. Also be sure you are not in debug mode, the GC may behave differently, or in dev mode e.g. if the |
Beta Was this translation helpful? Give feedback.
-
@jtkech @sebastienros We're dealing with an extremely high memory usage problem and I'm starting to look at core dumps to figure out why System.String and System.Byte[] instances are taking so much space. I was wondering if you could look at the worst of the core dump from below and tell me if anything else seems overly high considering we only have ~380 active tenants. We have a lot more tenants that aren't being accessed so they shouldn't be loaded if I'm not mistaken?
Beta Was this translation helpful? Give feedback.
All reactions