dbt-databricks
dbt-databricks copied to clipboard
UserWarning: resource_tracker: There appear to be 2 leaked semaphore objects to clean up at shutdown 3
trafficstars
Describe the bug
The instance is killed with the reason OOMKilled.
Seems there is a memory leakage.
Steps To Reproduce
When run dbt build with multiple threads enabled, in a memory constrained environment (i.e. k8s, with limited memory)
The instance will be killed with the reason OOMKilled
Expected behavior
dbt build should not require too much memory
Screenshots and log output



System information
The output of dbt --version:

The operating system you're using:
The output of python --version:

Additional context
Add any other context about the problem here.