Page 2 of 2

Re: (bug)total commander 3 beta 8 --- memory leak

Posted: 2019-09-30, 13:25 UTC
by ghisler(Author)
I finally found the problem! It seems that the background thread used to extract icons isn't teminated, and so the icon cache cannot be freed. I will work on a solution for the next beta.

Re: (bug)total commander 3 beta 8 --- memory leak

Posted: 2019-10-01, 00:45 UTC
by sweetbox
Congratulations!
Thank you for your hard work.

(I just want to say that it's not related to image size.I tested on folder with large pictures, and the memory increase step is the same behavior.(also the first increase will be 40MB, but will down to 5MB increase after 3 seconds).
So,yes,it's the icon through your check.)

Re: (bug)total commander 3 beta 8 --- memory leak

Posted: 2019-10-03, 09:53 UTC
by ghisler(Author)
That's because the Java garbage collector only removes unused classes from time to time. I couldn't find any other leaks, so it shouldn't increase further after that first big bump (which is due to static classes remaining in memory).

Re: (bug)total commander 3 beta 8 --- memory leak

Posted: 2019-10-04, 02:01 UTC
by sweetbox
tried TC 3.0beta10, this bug is fixed.