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
_jm
June 10, 2021, 5:14pm
2
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 .)
If I run the script with mem- and stats- logging, it prints this on start: 2021-05-21 16:02:12,777 [pid 12306] 0 clients connected 2021-05-21 16:02:12,777 [pid 12306] /app has 0 sessions with 0 unused 2021-05-21 16:02:12,778 [pid 12306] Memory...
1 Like
Hoxbro
June 10, 2021, 6:57pm
3
I have also noticed this problem.
opened 03:27PM - 09 May 21 UTC
#### ALL software version info
Windows 10 20H2
holoviews 1.14.3
panel 0.11.3…
datashader 0.12.1
#### Description of expected behavior and the observed behavior
I'm not sure if this a `panel`, `datashader`, or a `holoviews` issue.
The problem is when importing `holoviews.operation.datashader` in my file, the logging in the command window stops sending logs. When running`panel serve tmp.py --autoreload` with `holoviews.operation.datashader` imported no logs show up at all and I have to guess when ready.
#### Complete, minimal, self-contained example code that reproduces the issue
``` python
import panel as pn
import holoviews.operation.datashader
pn.panel("# Test").servable()
```
And run the command `panel serve` or `panel serve --autoreload`
#### Screenshots or screencasts of the bug in action
| | No `datashade` import | `datashade` import |
|--|--|--|
| Without `--autoreload` | ![2021-05-09 17_02_50](https://user-images.githubusercontent.com/19758978/117577459-24225e00-b0ea-11eb-9e2b-e77b45932b3a.png) | ![2021-05-09 17_05_44](https://user-images.githubusercontent.com/19758978/117577513-5e8bfb00-b0ea-11eb-92da-f1d3a4c1882a.png) |
| With `--autoreload` | ![2021-05-09 17_04_59](https://user-images.githubusercontent.com/19758978/117577490-3e5c3c00-b0ea-11eb-8f8b-6b1416677816.png) | ![2021-05-09 17_06_36](https://user-images.githubusercontent.com/19758978/117577521-677ccc80-b0ea-11eb-8a64-157f0c25e5b6.png) |
3 Likes
I keep seeing the same issue for a job I deployed to Kubernetes cluster… trying to fix it.