The tools.destructors vocabulary provides words for tracking down resource leaks.
debug-leaks?

disposables. ( -- )

leaks. ( quot -- )


See also
Deterministic resource disposal