Found some additional debug statements in relation to #19049 that can cause memory issues. Ref #19049
this way importing the tsdb package does not come with xorm dependencies