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 usage: 100.00 MB (RSS), 291.00 MB (VMS)
2021-05-21 16:02:12,807 uncollected Documents: 0
2021-05-21 16:02:12,832 uncollected Sessions: 0
2021-05-21 16:02:12,869 uncollected Models: 1
But as soon as I actually load the app in a browser, it stops logging to the console.
Also after loading the app in the browser for the first time after starting the process I again get this, but not after refreshes:
bokeh.document.document - ERROR - Module <module 'bokeh_app_fa366694b3804dc79e2879edde1ad888' from '/path/app.py'> has extra unexpected referrers! This could indicate a serious memory leak. Extra referrers: [<cell at 0x7f5e2e205f90: module object at 0x7f5e2de4edd0>]