Page 1 of 1
Cleanup temp files
Posted: Thu Jun 16, 2016 3:55 am
by mrlmmsguy
I noticed that after using LMMS for a bit, the temporary cache file (C:\Users\[my name]\AppData\Local\Temp\) begins to fill with little Qt files with names like qt_temp.ut1232. In a big, complex project, LMMS will positively spew these files. They are not large, but they begin to add up in terms of space. I think that there are some destructors needed. Am I wrong?
God Bless and good day
Re: Bulletproof the code
Posted: Thu Jun 16, 2016 10:37 am
by musikbear
Good find! I can see in my log, that this is propl related to upgrade to QT5.
I'l take it to hub
Thx!
Re: Bulletproof the code
Posted: Thu Jun 16, 2016 1:13 pm
by tresf
In a big, complex project, LMMS will positively spew these files. They are not large, but they begin to add up in terms of space. I think that there are some destructors needed. Am I wrong?
Could be, but most likely something with the Qt Framework. If you can track down the action which creates these, we can track it on our bug tracker. Note, Amarok users are complaining about this as well with no resolve:
https://forum.kde.org/viewtopic.php?f=116&t=89049
Re: Bulletproof the code
Posted: Thu Jun 16, 2016 1:17 pm
by tresf
Ok... VST and Zyn seem to use temp files from Qt which most certainly can be attributed to the
qt_temp.foo problem.
https://github.com/LMMS/lmms/search?utf ... &type=Code
musikBear has already created an issue
here, we'll track it there. Thanks.
Re: Bulletproof the code
Posted: Thu Jun 16, 2016 1:23 pm
by tresf
Bug report updated. Thanks for reporting.
https://github.com/LMMS/lmms/issues/2854
Re: Cleanup temp files
Posted: Sat Aug 13, 2016 3:24 pm
by zonkmachine
@mrlmmsguy I only get temp files that stick if I force quit LMMS from the terminal while the zasfx native gui is open. Qt (I'm at Qt 4.8..) clears out temp files when LMMS closes, but only if you quit it from within the program. If you have a whole lot of instances of zasfx with the native guis open and you find yourself force quitting the app from the terminal because it hangs, then yes, you will see qt temp files not being removed.