Leftover Temp Files

Post any defects you find in the released or beta versions of the ImageMagick software here. Include the ImageMagick version, OS, and any command-line required to reproduce the problem. Got a patch for a bug? Post it here.
Post Reply
Haravikk
Posts: 1
Joined: 2014-07-23T00:40:58-07:00
Authentication code: 6789

Leftover Temp Files

Post by Haravikk »

If ImageMagick doesn't have enough RAM memory then it uses a temporary file for operations instead, however if an operation fails for whatever reason then these files get left behind, and some of them can be quite big, and will cause the temp folder to fill up (potentially resulting in issues with any limits set).

I'm just wondering what mechanism ImageMagick uses for creating temporary files, as I believe most operating systems should provide a means of creating temporary files that are guaranteed to be discarded when the program terminates for whatever reason.
User avatar
magick
Site Admin
Posts: 11064
Joined: 2003-05-31T11:32:55-07:00

Re: Leftover Temp Files

Post by magick »

ImageMagick destroys any temporary files unless its interrupted by an uncatchable signal such as KILL. Its possible the version you're using has a bug. If you're using the latest version, 6.8.9, post a command line that leaves temporary files behind and we will investigate further.
Post Reply