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

Support for Android version of Total Commander

Moderators: white, Hacker, petermad, Stefan2

User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48021
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

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

Post 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.
Author of Total Commander
https://www.ghisler.com
sweetbox
Junior Member
Junior Member
Posts: 34
Joined: 2012-03-27, 11:56 UTC

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

Post 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.)
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48021
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

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

Post 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).
Author of Total Commander
https://www.ghisler.com
sweetbox
Junior Member
Junior Member
Posts: 34
Joined: 2012-03-27, 11:56 UTC

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

Post by *sweetbox »

tried TC 3.0beta10, this bug is fixed.
Post Reply