Sat. d. 5-6 at 14:04 Allie Martin [AM] wrote: AM> Thomas Fernandez, [TF] wrote:
TF>> That's not true. I keep campaigning against the memory leaks, but TF>> mostly on TBBETA, I admit. I am not sure whether your bug is the TF>> same memory leak that leads to sudden crashes or not. AM> It's not. He describes TB! not properly shutting down while doing a AM> purge and compress on exit. On inspecting the processes in the AM> taskmanager, thebat.exe is still there and using up 100% CPU. After having used the buggy TheBat for about 24 hours, I can specify the problems more detailed. If I just let TheBat fetch all new mail, which takes about 10 minutes with the bug (usually around 20 seconds), it stops using all resources, and goes back to be "normal". Then it is possible to close TheBat normally, only with a second of abnormal CPU ussage. It is only some tasks which makes it use the abnormal amount of resources. Some of those tasks are: *Fetching mail *Saving an e-mail using CTRL+S (e.g. the one I'm writing now) *Applying the "NOT spam"-feature to a mail *Using the internal backup feature Some tasks which are normal is *Moving mails to other folders *Deleting mails I found a program which can look closer at the sub processes of a program, and the following is the results from it. The lines which I have commented starts with SM> SM> I run it to find the process id of TheBat (I use hybernation mode SM> - my computer has not been running for 332 hrs). C:\Documents and Settings\Administrator\Dokumenter\download\tmp>pslist PsList 1.26 - Process Information Lister Copyright (C) 1999-2004 Mark Russinovich Sysinternals - www.sysinternals.com Process information for ANNE-GRETHE: Name Pid Pri Thd Hnd Priv CPU Time Elapsed Time Idle 0 0 1 0 0 47:43:15.765 332:20:52.681 System 8 8 41 219 24 0:13:29.531 332:20:52.681 ... thebat 1596 8 11 150 7044 0:05:16.187 0:07:06.406 SM> TheBat has the pid 1596, and has been running for about 8-7 SM> minutes (fetching mail). ... SM>I run the program for TheBat only, displaying details about sub SM>processes. C:\Documents and Settings\Administrator\Dokumenter\download\tmp>pslist -x 1596 PsList 1.26 - Process Information Lister Copyright (C) 1999-2004 Mark Russinovich Sysinternals - www.sysinternals.com Process and thread information for ANNE-GRETHE: Name Pid Pri Thd Hnd Priv CPU Time Elapsed Time thebat 1596 8 11 151 7044 0:05:22.125 0:07:13.171 VM WS Priv Priv Pk Faults NonP Page 51268 14632 7044 7364 7428 23 40 Tid Pri Cswtch State User Time Kernel Time Elapsed Time 2168 10 25166 Ready 0:00:01.296 0:00:01.484 0:07:13.156 796 8 2235 Wait:UserReq 0:00:00.000 0:00:00.000 0:07:11.734 732 9 109 Wait:UserReq 0:00:00.000 0:00:00.000 0:07:10.656 580 7 114 Wait:UserReq 0:00:00.000 0:00:00.000 0:07:09.765 2444 8 8 Wait:UserReq 0:00:00.000 0:00:00.000 0:07:09.359 768 8 52 Wait:UserReq 0:00:00.000 0:00:00.000 0:07:09.187 SM> This one (tid 1920) is the process I suspect for beeing the SM> guilty one. It only appears during the abnormal CPU ussage, and SM> have a priority so some parts of TheBat will be unaffected by the SM> lack of ressources. 1920 7 5744307 Ready 0:00:33.343 0:04:42.015 0:07:09.015 808 8 1535 Wait:UserReq 0:00:00.000 0:00:00.171 0:07:08.640 776 8 7 Wait:UserReq 0:00:00.000 0:00:00.000 0:07:08.031 416 7 5447 Wait:UserReq 0:00:01.171 0:00:02.593 0:06:02.000 744 8 2 Wait:UserReq 0:00:00.000 0:00:00.000 0:05:02.218 SM> I run it again about 20 seconds later. C:\Documents and Settings\Administrator\Dokumenter\download\tmp>pslist -x 1596 PsList 1.26 - Process Information Lister Copyright (C) 1999-2004 Mark Russinovich Sysinternals - www.sysinternals.com Process and thread information for ANNE-GRETHE: Name Pid Pri Thd Hnd Priv CPU Time Elapsed Time thebat 1596 8 11 150 7044 0:05:32.546 0:07:25.234 VM WS Priv Priv Pk Faults NonP Page 51268 14632 7044 7364 7579 23 40 Tid Pri Cswtch State User Time Kernel Time Elapsed Time 2168 10 25836 Ready 0:00:01.359 0:00:01.500 0:07:25.218 796 8 2314 Wait:UserReq 0:00:00.000 0:00:00.000 0:07:23.796 732 8 111 Wait:UserReq 0:00:00.000 0:00:00.000 0:07:22.718 580 7 117 Wait:UserReq 0:00:00.000 0:00:00.000 0:07:21.828 2444 8 8 Wait:UserReq 0:00:00.000 0:00:00.000 0:07:21.421 768 8 53 Ready 0:00:00.000 0:00:00.000 0:07:21.250 1920 7 5934007 Ready 0:00:34.515 0:04:51.078 0:07:21.078 808 8 1535 Wait:UserReq 0:00:00.000 0:00:00.171 0:07:20.703 776 8 7 Wait:UserReq 0:00:00.000 0:00:00.000 0:07:20.093 416 7 5547 Wait:UserReq 0:00:01.218 0:00:02.656 0:06:14.062 744 8 2 Wait:UserReq 0:00:00.000 0:00:00.000 0:05:14.281 SM> I run it when TheBat has finished feching about 110 mails. I have SM> a 1024/128 ADSL, 2.5 GHz CPU and 1 GB RAM, so around 8 minutes for SM> just above normal 100 mails (mostly spam) is a lot. C:\Documents and Settings\Administrator\Dokumenter\download\tmp>pslist -x 1596 PsList 1.26 - Process Information Lister Copyright (C) 1999-2004 Mark Russinovich Sysinternals - www.sysinternals.com Process and thread information for ANNE-GRETHE: Name Pid Pri Thd Hnd Priv CPU Time Elapsed Time thebat 1596 8 9 133 7004 0:06:32.890 0:08:39.531 VM WS Priv Priv Pk Faults NonP Page 50244 14616 7004 7396 8466 7 39 Tid Pri Cswtch State User Time Kernel Time Elapsed Time 2168 10 29618 Ready 0:00:01.734 0:00:01.640 0:08:39.515 796 8 2732 Wait:UserReq 0:00:00.000 0:00:00.000 0:08:38.093 732 8 124 Wait:UserReq 0:00:00.000 0:00:00.000 0:08:37.015 580 7 134 Wait:UserReq 0:00:00.000 0:00:00.000 0:08:36.125 2444 8 9 Wait:UserReq 0:00:00.000 0:00:00.000 0:08:35.718 768 8 62 Wait:UserReq 0:00:00.000 0:00:00.000 0:08:35.546 808 8 1555 Wait:UserReq 0:00:00.000 0:00:00.171 0:08:35.000 776 8 8 Wait:UserReq 0:00:00.000 0:00:00.000 0:08:34.390 744 8 2 Wait:UserReq 0:00:00.000 0:00:00.000 0:06:28.578 -- Best regards Simon Mikkelsen ________________________________________________ Current version is 2.11.02 | 'Using TBUDL' information: http://www.silverstones.com/thebat/TBUDLInfo.html