mirror of
https://github.com/NickeManarin/ScreenToGif.git
synced 2026-04-25 23:25:52 +03:00
[GH-ISSUE #195] Tweak temporary file management logic #164
Labels
No labels
copy cats
duplicated
future feature
pull-request
⬜ Accepted
⬜ Completed
⬜ Help Wanted 💪
⬜ In Progress
⬜ Missing Details
⬜ Pending
⬜ Waiting For Answer ⏳
🆕 feature preview
🔷 Bug 🐛
🔷 Out Of Scope
🔷 Out Of Scope
🔷 Question
🔷Enhancement
🔷Enhancement
🔷Invalid / External
🔷Knowledge Base
🔷Won't Fix
🕑 High
🕑 High
🕑 High
🕕 Medium
🕙 Low
🕛 Critical
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/ScreenToGif#164
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @ralienpp on GitHub (Oct 4, 2017).
Original GitHub issue: https://github.com/NickeManarin/ScreenToGif/issues/195
Originally assigned to: @NickeManarin on GitHub.
I have had some issues with Screen2Gif, it kept crashing out of the blue, though it worked well the day before. After trying out many things, going back to an older version - the problem persisted.
Eventually I noticed that it is a problem with free space (lack thereof). After freeing up 6 GB on the volume, Screen2Gif worked for a while and then kept crashing again. I was back to no free space.
Upon further inquiry, I found that
%TMP%\Screen2Gifhad 36 GB of stuff in it, and it included files that were successfully exported to.stgprojects from within Screen2Gif earlier.What I think it necessary:
@NickeManarin commented on GitHub (Oct 8, 2017):
Currently, the only automated way to clean up the temp folder is by enabling the "Automatically remove old projects" (it's enabled by default). With this option enabled, project older than 5 days will be deleted (during the startup of the editor).
I know that the ActionStack ('undo' and 'redo') takes a lot of disk space and I just adjusted the app to clear those files after closing a project (since they are not loaded next time the project is opened).
Also, just to check, are you running a version greater than v2.8.1?
Because v2.8 had a bug with the process that erases the temp files.
@NickeManarin commented on GitHub (Dec 27, 2017):
I added the option for automatically erasing projects, with a configurable maximum age in days. For example, you can set to erase projects older than 1 day.
Also, the app will warn about the free space.
This changes will be available with v2.12 or 2.11.1