cancel
Showing results for 
Search instead for 
Did you mean: 
Data Engineering
Join discussions on data engineering best practices, architectures, and optimization strategies within the Databricks Community. Exchange insights and solutions with fellow data engineers.
cancel
Showing results for 
Search instead for 
Did you mean: 

Any known issue with interactive Shared Cluster Driver Memory Cleanup

filipniziol
Esteemed Contributor

I am experiencing memory leaks on a Standard (formerly shared) interactive cluster:

1. We run jobs regularly on the cluster
2. After each job completes, driver memory usage continues to increase, suggesting resources aren't fully released
3. Eventually, the cluster crashes with "Out of Memory" errors after ~1/2 day of executions

Details:
- Using DBR 15.4
- The same jobs ran for weeks without issues on a "No isolation shared" cluster
- We are using ThreadPoolExecutor to parallelize notebook/function runs
- The memory usage grows consistently after each job execution 
- We can see occasional drops in memory usage (indicating garbage collection is happening), but the overall trend is still increasing memory consumption over time

Questions:
1. Is this a known issue with DBR 15.4 on Standard (formerly shared) interactive clusters?
2. Are there specific settings or configurations that might help prevent this memory leak?
3. Are there recommended methods to monitor and diagnose driver memory usage when direct JVM access is restricted?

Any guidance would be appreciated!

I noticed similar posts
https://community.databricks.com/t5/data-engineering/restarting-the-cluster-always-running-doesn-t-f...
https://community.databricks.com/t5/data-engineering/drive-memory-utilization-cleanup/td-p/106519:

3 REPLIES 3

jdrum
New Contributor II

Similar problem. Guess when we switched to 15.4 from 14.3 😞

jdrum_0-1742557090738.png

 

jdrum
New Contributor II

but maybe fixed today?

jdrum_1-1742557929156.png

 

Alberto_Umana
Databricks Employee
Databricks Employee

Hello Team,

I'll check internally if any known issue reported.

Join Us as a Local Community Builder!

Passionate about hosting events and connecting people? Help us grow a vibrant local community—sign up today to get started!

Sign Up Now