Fix unexpected referrers?

bokeh.document.document - ERROR - Module <module 'app' from '/home/app/app/main.py'> has extra unexpected referrers! This could indicate a serious memory leak. Extra referrers: [<cell at 0x7fecb6de8e50: module object at 0x7fecb6fbc6b0>]

What does cell refer to?

1 Like

Hi @ahuang11

Another user recently posted on the bokeh discourse and mentioned seeing an Extra referrers warning. See this topic, which goes into some possible things to investigate regarding the cause. (The link below should jump automatically to the second item in the discussion that deals with Extra referrers.)

1 Like

I have also noticed this problem.

3 Likes

I keep seeing the same issue for a job I deployed to Kubernetes cluster… trying to fix it.