cancel
Showing results for 
Search instead for 
Did you mean: 
Data Engineering
cancel
Showing results for 
Search instead for 
Did you mean: 

Can't run Display command. Any idea why I got this error message? How can I fix this? The nodes are at 28gb ram and memory usage : 162.9+mb so it shouldn't be memory issue :(. Please help! Thank you in advanced!

sm1
New Contributor III

Capture

5 REPLIES 5

Ajay-Pandey
Esteemed Contributor II

Hi @Suky Muliadikara​ ,

The error is OutofMemory that means when you're calling display it's actually executing all the transformation that's causing OOM exception please increase your memory for driver and worker then you can use display ().

-werners-
Esteemed Contributor III

spark is lazy evaluated. this means actual compute only starts at an action (like display).

without seeing the rest of the code it is impossible to see what the issue is.

According to the error message, there is an OOM error, most probably caused by some code somewhere.

Increasing memory is an option but I suggest reviewing why you use so much memory.

Hi @Suky Muliadikara​,

Just a friendly follow-up. Did any of the responses help you to resolve your question? if it did, please mark it as best. Otherwise, please let us know if you still need help.

Lakshay
Esteemed Contributor
Esteemed Contributor

Hi @Suky Muliadikara​ , Could you please share more details like DBR version, number of nodes etc? Also, if you could share a screenshot of spark sql plan?

Anonymous
Not applicable

Hi @Suky Muliadikara​ 

Hope all is well! Just wanted to check in if you were able to resolve your issue and would you be happy to share the solution or mark an answer as best? Else please let us know if you need more help. 

We'd love to hear from you.

Thanks!

Welcome to Databricks Community: Lets learn, network and celebrate together

Join our fast-growing data practitioner and expert community of 80K+ members, ready to discover, help and collaborate together while making meaningful connections. 

Click here to register and join today! 

Engage in exciting technical discussions, join a group with your peers and meet our Featured Members.