I  made some additional research: what need a lot of the memory is the
spell  checker.  If  you  dont  have spell checkers, when you open the
first  mail  to  write, the memory does not jump. If you do have spell
checkers,  they  will  -of  course-  loaded  into the memory and stays
there.  I  must  have  many selected on my other machine so my VM size
jumps  to 130 MB or so, on this PC it is "only" 70 MB. I have to check
if the SSCE or the Hunspell or the CSAPI is the most memory consuming.
I  think,  it  is  not  a  memory  leak,  it is just the way TB works.
However, I have to test, why Voyager works differently...

Anyway, also another observation: if you open up 10 mail editor window
(Ctrl+N)  and  close  them  (Esc),  the  memory usage increases. Do it
repetatively,  and  the free mem just shrinking and shrinking... It is
obviously a memory leak that should be fixed. It seems like 12 kB/mail
is the leak.

Another memory leak: hit Ctrl+Shift+Q, Quick Templates. Then close the
window.  Do  it  many  times.  Memory  usage  is  increasing  with all
replicates. Memory leak...

Another  memory  leak:  Tabs in the mail list. I have the All, Unread,
and 3 others based on View modes. If I click on them randomly, waiting
1-2 sec, the memory consumption increasing... Not that much, but there
is  a  leak  here,  too.  It seems, that the mem. usage goes up when I
click back to the All tab... If you dont see mem. increase, just click
around more...

Another 4k/repetition leak: SmartBat. F6, wait a sec, Esc, mem. usages
is up by 4 kB.

And  this  little  leaks  adds up big. I am pretty sure, more could be
found...

Also:  number  of  threads.  At first, I have 27. Open the 10 mail and
close  them,  they  jump  to  35.  Download the mails from an account,
increases  it  with one, one per account. I dont know, why threads are
not terminated... Maybe there is an optimization reason.

So,  I  think,  before any additional work, Ritlabs should go thru the
code and CLEAN IT, looking for memory leaks...

-- 
Vili


________________________________________________________
 Current beta is 4.0.20.2 | 'Using TBBETA' information:
http://www.silverstones.com/thebat/TBUDLInfo.html

Reply via email to