-
When running
It's not deterministic and the reports vary. Anyone else has this problem? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
There is a FAQ entry about these kinds of leaks. At this point, I've several times gone down the rabbit hole of back-tracking the source, and it is usually some issue in another library or an issue with Python GC not being comprehensive enough at shutdown time. They are actual leaks, so it is correct that nanobind reports them, but they might not be serious enough to show to users of your library. You can disable these warnings if they bother you. I keep them on by default since it's still useful to know if there are some serious problems. |
Beta Was this translation helpful? Give feedback.
There is a FAQ entry about these kinds of leaks. At this point, I've several times gone down the rabbit hole of back-tracking the source, and it is usually some issue in another library or an issue with Python GC not being comprehensive enough at shutdown time. They are actual leaks, so it is correct that nanobind reports them, but they might not be serious enough to show to users of your library.
You can disable these warnings if they bother you. I keep them on by default since it's still useful to know if there are some serious problems.