Open hoxbro opened 3 years ago
I don't know if it is related to this problem, but I'm have been seeing error message for memory leaks when having datashader
imported.
bokeh.document.document - ERROR - Module <module 'bokeh_app_2c6de2e007084afdb776cc94fdd6bb90' from 'C:\\Users\\shh\\Desktop\\tmp.py'> has extra unexpected referrers! This could indicate a serious memory leak. Extra referrers: [<cell at 0x000001A0C462DD38: module object at 0x000001A0C466B958>]
I can somewhat force this error, but I don't know why.
This missing logging is related to dask.distributed
as I see the same behavior with this code:
import panel as pn
import dask.distributed
pn.panel("# Test").servable()
If I comment out this line everything seem to work as without the dask.distributed
import.
https://github.com/dask/distributed/blob/7e10875528d955947340f6f95da54f6919bdd815/distributed/config.py#L79
I fixed this once upon a time https://github.com/dask/distributed/pull/3087 :/
@Hoxbro, do you still see it with a version of Dask distributed that includes @philippjfr's fix?
Yes that fix is very old, seems to have regressed again a while ago.
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 aholoviews
issue. The problem is when importingholoviews.operation.datashader
in my file, the logging in the command window stops sending logs. When runningpanel serve tmp.py --autoreload
withholoviews.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
And run the command
panel serve
orpanel serve --autoreload
Screenshots or screencasts of the bug in action
datashade
importdatashade
import--autoreload
--autoreload