4

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?

georgeawg
  • 48,608
  • 13
  • 72
  • 95
Geet
  • 2,515
  • 2
  • 19
  • 42

2 Answers2

6

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.

PranavMurali
  • 88
  • 1
  • 6
3

I am experiencing the same problem. The only solution seems to be to restart the cluster you're working on.

A. Stam
  • 2,148
  • 14
  • 29