Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
Memory leak when breadcrumbs contain worker thread references #12
By default, Raven will monkey patch all loggers and transmit logged messages as breadcrumbs.
Breadcrumbs are stored in a thread-local buffer which should be released when the thread exits. But if you log anything inside the worker thread (e.g. a traceback object) that holds a reference to its thread, the thread's refcount never goes to zero and the thread-locals are not garbage collected.