donmccurdy/glTF-Transform

Cache cleanup

Closed this issue · 2 comments

Hey,

I just noticed that the gltf-transform temp directory has grown to 1.2 GB by now and I wonder if files could automatically be removed or cleaned up after a run since - if I remember correctly - they're not used anymore later (e.g. as a cache)

image

Yikes. Cleanup was intended to happen...

tmp.setGracefulCleanup();

... but it looks like I may not be using that feature of tmp correctly. I'll retag this as a bug.

I also really want to avoid using CLI-in-CLI like this, per #675, but no progress there.