Skip to content

Abnormal memory consumption in celery integration #1980

@oleks-popovych

Description

@oleks-popovych

How do you use Sentry?

Sentry Saas (sentry.io)

Version

1.16.0-1.18.0

Steps to Reproduce

So I have created celery application with sentry integration and worker that allocates large chunks of memory.
I observe that when I use sentry-sdk==1.15.0 my worker allocates memory ones and stays roughly at the same level for each consecutive task, whereas with version >1.15.0 (1.16.0, 1.17.0, 1.18.0) memory consumption increases with each task.

Expected Result

I expect that with newer version of sentry-sdk will behave like 1.15.0 in my case.

Actual Result

I've prepared repository with a code that could help to reproduce a bug.
https://github.com/oleks-popovych/sentry-leak

Metadata

Metadata

Assignees

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions