I was using simple data manipulation using sparkr
on Databricks. The code was working just fine a minute ago and suddenly I started getting the following error:
Error in png(fileName, width = plotWidth, height = plotHeight, pointsize = plotPointSize, : too many open devices
This happens even if I use, for example:
mtcars %>% select(mpg)
I was not making any plots. What could the solution be?
I believe this can be done without restarting the cluster. Just Clear State and Results and Run them all again and you will be good to go.
I am experiencing the same problem. The only solution seems to be to restart the cluster you're working on.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With