Skip to content

Possible memory leak in ActivationCollector #9389

@rdegroot1996

Description

@rdegroot1996

We're experiencing some sort of memory leak regarding linked cancellation tokens. The list of tokens seems to lead back to the ActivationCollector class.

Some information about our app:

  • Grains get called around every 15 minutes, so the grains are never deactivated.
  • We azure Orleans reminders backed by Azure Table Storage
  • We use OpenTelemetry for collecting and exporting metrics to Azure App Insights

We do not directly use or link (grain) cancellation tokens in our code and we do not use any lifecycle hooks like OnActivateAsync or OnDeactivateAsync.

What could cause this problem, or how could we collect more details about what is going on?

Image
Image

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions