(bug)total commander 3 beta 8 --- memory leak
Moderators: Hacker, petermad, Stefan2, white
- ghisler(Author)
- Site Admin
- Posts: 50541
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Re: (bug)total commander 3 beta 8 --- memory leak
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
https://www.ghisler.com
Re: (bug)total commander 3 beta 8 --- memory leak
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.)
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.)
- ghisler(Author)
- Site Admin
- Posts: 50541
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Re: (bug)total commander 3 beta 8 --- memory leak
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
https://www.ghisler.com
Re: (bug)total commander 3 beta 8 --- memory leak
tried TC 3.0beta10, this bug is fixed.