droptogif icon indicating copy to clipboard operation
droptogif copied to clipboard

it create a lot of temp file in the /tmp dir

Open maguowei opened this issue 9 years ago • 9 comments

when i try to drop a video in to it , It create over than 100GB temp file in the /tmp dir。 I think it is a bug.

ps: the video file is created by Quick time player Screen Recording

maguowei avatar Dec 04 '15 04:12 maguowei

Thank you for your comment, I just was curious why I did lost 10GB in a second.

You have to delete this software or solve this problem.

kevinbravo avatar Jun 14 '16 00:06 kevinbravo

@mortenjust I just ran out of space on my MBP with 30 gigs worth of tempfiles in /tmp/

markhougaard avatar Sep 06 '16 13:09 markhougaard

Everyone, I have not been able to reproduce this bug. Please note any details you think could be helpful, like the size of the movie file, its type, etc.

@KevinCashinfo you can get your 10Gb back by rebooting your mac or deleting the temp files manually. After that feel free to delete the app and never install it again.

mortenjust avatar Sep 06 '16 16:09 mortenjust

@mortenjust Regular .mov screen capture, about 1.8mb. When I drop the file in the app's window, it loops in the window of the app continuously. I then quit the app, but it seems it keeps rendering temp-files in /tmp/ until the hard drive is full.

System info: MBP, 15", Early 2013, 2.7GHz i7,16GB RAM, OS X 10.11.6.

On 06 Sep 2016, at 18:41, Morten Just [email protected] wrote:

Everyone, I have not been able to reproduce this bug. Please note any details you think could be helpful, like the size of the movie file, its type, etc.

@KevinCashinfo https://github.com/KevinCashinfo you can get your 10Gb back by rebooting your mac or deleting the temp files manually. After that feel free to delete the app and never install it again.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/mortenjust/droptogif/issues/17#issuecomment-245011637, or mute the thread https://github.com/notifications/unsubscribe-auth/AAIUN4gQfxS1F9sno3A-iM5x9VVRiTNmks5qnZe1gaJpZM4GulZI.

markhougaard avatar Sep 07 '16 07:09 markhougaard

Wow.

a. If you or anyone are able to, could you share an example of a movie file that fills up temp? b. Could you try launching Droptogif from the shell and paste in the output here or on pastebin? (Go to terminal and paste this /Applications/Drop\ to\ GIF.app/Contents/MacOS/Drop\ to\ GIF)

mortenjust avatar Sep 07 '16 20:09 mortenjust

This might be an issue with Gifify or one of it's dependencies https://github.com/jclem/gifify/issues/35

chasegiunta avatar Sep 07 '16 20:09 chasegiunta

@mortenjust Shell output:

2016-09-08 09:11:16.705 Drop to GIF[47503:568856] Could not connect action, target class Drop_to_GIF.ViewController does not respond to -matchFpsPressed: circleDropDragEntered running getsize.sh mj.eof and output: this is the info we got:###### #fps# Let's match the original running getsize.sh mj.eof and output: Optional( Stream #0:0(und): Video: h264 (Main) (avc1 / 0x31637661), yuv420p(tv, bt709), 1664x1480 [SAR 1:1 DAR 208:185], 1600 kb/s, 60 fps, 60 tbr, 6k tbn, 50 tbc (default) ) this is the info we got:###Optional( Stream #0:0(und): Video: h264 (Main) (avc1 / 0x31637661), yuv420p(tv, bt709), 1664x1480 [SAR 1:1 DAR 208:185], 1600 kb/s, 60 fps, 60 tbr, 6k tbn, 50 tbc (default) )### extracted fps is 60.0 running gifify Terminated: 15

(I killed the app manually after it looped four-five times.)

It could be that gifify just doesn't end the process.

markhougaard avatar Sep 08 '16 07:09 markhougaard

Encountered the same issue on High Sierra 10.13.1. ~20GB of tempfiles created while attempting to convert a 21mb mov captured with QuickTime.

(just putting this out here for anyone encountering the same issue on High Sierra, since this ticket is rather old.)

half0wl avatar Dec 21 '17 11:12 half0wl