GKS file open error: Too many open files · Issue #1723 · JuliaPlots/Plots.jl

Generating many plots and saving them leads to an "Too many open files" error using the GR backend. I could not find any information on how to close a plot/file in the documentation. A minimal work...