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:ย 

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 III

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 ().

Ajay Kumar Pandey

-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
Databricks Employee
Databricks Employee

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!

Connect with Databricks Users in Your Area

Join a Regional User Group to connect with local Databricks users. Events will be happening in your city, and you wonโ€™t want to miss the chance to attend and share knowledge.

If there isnโ€™t a group near you, start one and help create a community that brings people together.

Request a New Group