You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The way you're using tempname(), by not using the name as is but appending an extension, causes the cleanup of the file to never happen, and so repeatedly precompiling the package causes lots of files to pile up, especially on shared systems which are reboot infrequently.
Instead, you should probably be creating a temporary directory with mktempdir() and write files in there, to make sure everything inside the directory is cleaned up at the end of the process.
The text was updated successfully, but these errors were encountered:
Plots.jl/src/init.jl
Lines 102 to 112 in 0d95673
tempname()
, by not using the name as is but appending an extension, causes the cleanup of the file to never happen, and so repeatedly precompiling the package causes lots of files to pile up, especially on shared systems which are reboot infrequently.Instead, you should probably be creating a temporary directory with
mktempdir()
and write files in there, to make sure everything inside the directory is cleaned up at the end of the process.The text was updated successfully, but these errors were encountered: