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!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-13-2023 01:32 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-13-2023 10:09 PM
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 ().
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-14-2023 05:11 AM
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-23-2023 02:09 PM
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-15-2023 05:09 AM
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?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-16-2023 09:47 PM
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!