Resource mgmt for TransformFunction