Hello Everybody
Here is the more logs to have food for thought where mem is eaten up
with every next invocation of a dialog: from a different perspective:
00000000 GC: new QApplication 243396 B 24112 KB
00000002 .
============================================================================
Build_HTMLViewer( OMITTED ) Takes Too Much of Memory
============================================================================
00000003 .
00000004 . Memory(1001)
TaskBar
00000005 .
Mem Usage
Bytes
KB
==============================================================================
00000006 1 At Startup of Thread 243441
24136
00000016 1 oDlg := GuiStdDialog 482579
25808
00000072 1 Build_MenuBar 676626
27584
00000083 1 Build_StatusBar 739958
28788
00000094 1 Build_ToolBar 804942
29012
00000119 1 Build_TabPages 910365
29516
00000194 1 Build_Browse 1435383
31396
00000203 1 Build_MLE 1498566
32300
00000208 1 Build_CheckBox 1561422
32336
00000213 1 Build_3State 1593224
32376
00000222 1 Build_RadioButton 1648328
32488
00000229 1 Build_SpinButton 1728739
32824
00000634 1 Build_TreeView 1989620
33736
00000650 1 Build_ListBox 2079252
34088
00000661 1 Build_ComboBox 2191855
34588
00000672 1 Build_PushButton 2238722
34636
00000683 1 Build_SLEs 2250840
34644
00000688 1 Build_ScrollBars 2283546
34648
00000768 1 Build_Rtf 2465548
35424
00000769 1 Build_HTMLViewer 2465548
35424
00000891 1 Build_Statics 2662368
36044
==============================================================================
00000986 .
00000987 .
00000988 .
00000989 .
00000990 2 At Startup of Thread 2710533
39512 - 36034 = 3478
00001000 2 oDlg := GuiStdDialog 2757595
39652
00001054 2 Build_MenuBar 2795350
39884
00001065 2 Build_StatusBar 2800497
39916
00001076 2 Build_ToolBar 2810168
39924
00001101 2 Build_TabPages 2853319
40064
00001176 2 Build_Browse 3020176
40700
00001185 2 Build_MLE 3025427
40792
00001190 2 Build_CheckBox 3035949
40816
00001195 2 Build_3State 3046712
40840
00001204 2 Build_RadioButton 3067596
40896
00001211 2 Build_SpinButton 3084492
40952
00001616 2 Build_TreeView 3242334
41460
00001632 2 Build_ListBox 3248750
41552
00001643 2 Build_ComboBox 3266238
41628
00001654 2 Build_PushButton 3276575
41644
00001665 2 Build_SLEs 3288695
41676
00001670 2 Build_ScrollBars 3299623
41704
00001750 2 Build_Rtf 3374631
42060
00001751 2 Build_HTMLViewer 3374631
42060
00001873 2 Build_Statics 3480424
42460
00001891 .............................. WOW
.................................
00002439 release_QMainWindow 2905939 B 44832 KB
- 42460 = 2472
00002440 2905775 Destroy: XBPDIALOG 2
00002441 ------------------------------ WOW
---------------------------------
00002443 2 THE END 2905778
43076
00002444 .
00002445 .
00002446 .
00002447 .
00002448 3 At Startup of Thread 2714894
42996 - 39512 = 3484
00002458 3 oDlg := GuiStdDialog 2761958
43020
00002512 3 Build_MenuBar 2799718
43080
00002523 3 Build_StatusBar 2804866
43080
00002534 3 Build_ToolBar 2814538
43084
00002559 3 Build_TabPages 2857698
43096
00002634 3 Build_Browse 3024555
43100
00002643 3 Build_MLE 3029807
43104
00002648 3 Build_CheckBox 3040331
43104
00002653 3 Build_3State 3051095
43104
00002662 3 Build_RadioButton 3071979
43104
00002669 3 Build_SpinButton 3088875
43104
00003074 3 Build_TreeView 3246717
43116
00003090 3 Build_ListBox 3253133
43116
00003101 3 Build_ComboBox 3270621
43116
00003112 3 Build_PushButton 3280958
43116
00003123 3 Build_SLEs 3293078
43116
00003128 3 Build_ScrollBars 3304006
43116
00003208 3 Build_Rtf 3379014
43120
00003209 3 Build_HTMLViewer 3379014
43120
00003331 3 Build_Statics 3484807
43276
00003345 .............................. WOW
.................................
00003893 release_QMainWindow 2905951 B 45296 KB
- 43276 = 2020
00003894 2905787 Destroy: XBPDIALOG 3
00003895 ------------------------------ WOW
---------------------------------
00003897 3 THE END 2905790
43512
00003898 .
00003899 .
00003900 .
00003901 .
00003902 4 At Startup of Thread 2714894
43432 - 42996 = 436
00003912 4 oDlg := GuiStdDialog 2761958
43452
00003966 4 Build_MenuBar 2799718
43512
00003977 4 Build_StatusBar 2804866
43512
00003988 4 Build_ToolBar 2814538
43528
00004013 4 Build_TabPages 2857698
43540
00004088 4 Build_Browse 3024555
43540
00004097 4 Build_MLE 3029807
43540
00004102 4 Build_CheckBox 3040331
43540
00004107 4 Build_3State 3051095
43540
00004116 4 Build_RadioButton 3071979
43540
00004123 4 Build_SpinButton 3088875
43540
00004528 4 Build_TreeView 3246717
43548
00004544 4 Build_ListBox 3253133
43556
00004555 4 Build_ComboBox 3270621
43556
00004566 4 Build_PushButton 3280958
43556
00004577 4 Build_SLEs 3293078
43556
00004582 4 Build_ScrollBars 3304006
43556
00004662 4 Build_Rtf 3379014
43572
00004663 4 Build_HTMLViewer 3379014
43572
00004785 4 Build_Statics 3484807
43648
00004809 .............................. WOW
.................................
00005357 release_QMainWindow 2905951 B 45696 KB
- 43648 = 2048
00005358 2905787 Destroy: XBPDIALOG 4
00005359 ------------------------------ WOW
---------------------------------
00005361 4 THE END 2905790
43932
00005362 .
00005363 .
00005364 .
00005365 .
00005366 5 At Startup of Thread 2714894
43848 - 43432 = 416
00005376 5 oDlg := GuiStdDialog 2761958
43868
00005430 5 Build_MenuBar 2799718
43940
00005441 5 Build_StatusBar 2804866
43940
00005452 5 Build_ToolBar 2814538
43940
00005477 5 Build_TabPages 2857698
43952
00005552 5 Build_Browse 3024555
43952
00005561 5 Build_MLE 3029807
43952
00005566 5 Build_CheckBox 3040331
43952
00005571 5 Build_3State 3051095
43952
00005580 5 Build_RadioButton 3071979
43952
00005587 5 Build_SpinButton 3088875
43952
00005992 5 Build_TreeView 3246717
43964
00006008 5 Build_ListBox 3253133
43972
00006019 5 Build_ComboBox 3270621
43972
00006030 5 Build_PushButton 3280958
43972
00006041 5 Build_SLEs 3293078
43972
00006046 5 Build_ScrollBars 3304006
43972
00006126 5 Build_Rtf 3379014
44000
00006127 5 Build_HTMLViewer 3379014
44000
00006249 5 Build_Statics 3484807
44092
00006263 .............................. WOW
.................................
00006811 release_QMainWindow 2905951 B 46108 KB
- 44092 = 2016
00006812 2905787 Destroy: XBPDIALOG 5
00006813 ------------------------------ WOW
---------------------------------
00006815 5 THE END 2905790
44344
00006816 .
00006817 .
00006818 .
00006819 .
00006820 6 At Startup of Thread 2714894
44260 - 43848 = 412
00006830 6 oDlg := GuiStdDialog 2761958
44280
00006884 6 Build_MenuBar 2799718
44348
00006895 6 Build_StatusBar 2804866
44348
00006906 6 Build_ToolBar 2814538
44348
00006931 6 Build_TabPages 2857698
44368
00007006 6 Build_Browse 3024555
44368
00007015 6 Build_MLE 3029807
44372
00007020 6 Build_CheckBox 3040331
44372
00007025 6 Build_3State 3051095
44372
00007034 6 Build_RadioButton 3071979
44372
00007041 6 Build_SpinButton 3088875
44372
00007446 6 Build_TreeView 3246717
44408
00007462 6 Build_ListBox 3253133
44420
00007473 6 Build_ComboBox 3270621
44420
00007484 6 Build_PushButton 3280958
44420
00007495 6 Build_SLEs 3293078
44420
00007500 6 Build_ScrollBars 3304006
44420
00007580 6 Build_Rtf 3379014
44444
00007581 6 Build_HTMLViewer 3379014
44444
00007703 6 Build_Statics 3484807
44484
00007719 .............................. WOW
.................................
00008267 release_QMainWindow 2905951 B 46512 KB
- 44484 = 2028
00008268 2905787 Destroy: XBPDIALOG 6
00008269 ------------------------------ WOW
---------------------------------
00008271 6 THE END 2905790
44748
00008272 .
00008273 .
00008274 .
00008275 .
00008276 7 At Startup of Thread 2714894
44668 - 44260 = 408
00008286 7 oDlg := GuiStdDialog 2761958
44688
00008340 7 Build_MenuBar 2799718
44756
00008351 7 Build_StatusBar 2804866
44760
00008362 7 Build_ToolBar 2814538
44760
00008387 7 Build_TabPages 2857698
44772
00008462 7 Build_Browse 3024555
44772
00008471 7 Build_MLE 3029807
44780
00008476 7 Build_CheckBox 3040331
44780
00008481 7 Build_3State 3051095
44780
00008490 7 Build_RadioButton 3071979
44780
00008497 7 Build_SpinButton 3088875
44780
00008902 7 Build_TreeView 3246717
44816
00008918 7 Build_ListBox 3253133
44832
00008929 7 Build_ComboBox 3270621
44832
00008940 7 Build_PushButton 3280958
44832
00008951 7 Build_SLEs 3293078
44832
00008956 7 Build_ScrollBars 3304006
44832
00009036 7 Build_Rtf 3379014
44852
00009037 7 Build_HTMLViewer 3379014
44852
00009159 7 Build_Statics 3484807
44888
00009173 .............................. WOW
.................................
00009721 release_QMainWindow 2905951 B 46944 KB
- 44888 = 2056
00009722 2905787 Destroy: XBPDIALOG 7
00009723 ------------------------------ WOW
---------------------------------
00009725 7 THE END 2905790
45184
00009726 .
00009727 .
00009728 .
00009729 .
00009730 8 At Startup of Thread 2714894
45080 - 44668 = 412
00009740 8 oDlg := GuiStdDialog 2761958
45116
00009794 8 Build_MenuBar 2799718
45172
00009805 8 Build_StatusBar 2804866
45188
00009816 8 Build_ToolBar 2814538
45188
00009841 8 Build_TabPages 2857698
45200
00009916 8 Build_Browse 3024555
45200
00009925 8 Build_MLE 3029807
45204
00009930 8 Build_CheckBox 3040331
45204
00009935 8 Build_3State 3051095
45204
00009944 8 Build_RadioButton 3071979
45204
00009951 8 Build_SpinButton 3088875
45204
00010356 8 Build_TreeView 3246717
45216
00010372 8 Build_ListBox 3253133
45216
00010383 8 Build_ComboBox 3270621
45216
00010394 8 Build_PushButton 3280958
45216
00010405 8 Build_SLEs 3293078
45216
00010410 8 Build_ScrollBars 3304006
45216
00010490 8 Build_Rtf 3379014
45236
00010491 8 Build_HTMLViewer 3379014
45236
00010613 8 Build_Statics 3484807
45276
00010631 .............................. WOW
.................................
00011179 release_QMainWindow 2905951 B 47372 KB
- 45276 = 2096
00011180 2905787 Destroy: XBPDIALOG 8
00011181 ------------------------------ WOW
---------------------------------
00011183 8 THE END 2905790
45604
00011184 .
00011185 .
00011186 .
00011187 .
00011188 9 At Startup of Thread 2714894
45540 - 45080 = 460
00011198 9 oDlg := GuiStdDialog 2761958
45560
00011252 9 Build_MenuBar 2799718
45580
00011263 9 Build_StatusBar 2804866
45580
00011274 9 Build_ToolBar 2814538
45580
00011299 9 Build_TabPages 2857830
45592
00011374 9 Build_Browse 3024555
45592
00011383 9 Build_MLE 3029807
45596
00011388 9 Build_CheckBox 3040331
45596
00011393 9 Build_3State 3051095
45596
00011402 9 Build_RadioButton 3071979
45596
00011409 9 Build_SpinButton 3088875
45596
00011814 9 Build_TreeView 3246717
45620
00011830 9 Build_ListBox 3253133
45644
00011841 9 Build_ComboBox 3270621
45644
00011852 9 Build_PushButton 3280958
45644
00011863 9 Build_SLEs 3293078
45644
00011868 9 Build_ScrollBars 3304006
45644
00011948 9 Build_Rtf 3379014
45660
00011949 9 Build_HTMLViewer 3379014
45660
00012071 9 Build_Statics 3484807
45700
00012083 .............................. WOW
.................................
00012631 release_QMainWindow 2905951 B 47768 KB
- 45700 = 2068
00012632 2905787 Destroy: XBPDIALOG 9
00012633 ------------------------------ WOW
---------------------------------
00012635 9 THE END 2905790
46008
00012636 .
00012637 .
00012638 .
00012639 .
00012640 10 At Startup of Thread 2714894
45912 - 45540 = 372
00012650 10 oDlg := GuiStdDialog 2761960
45932
00012704 10 Build_MenuBar 2799720
45948
00012715 10 Build_StatusBar 2804868
45952
00012726 10 Build_ToolBar 2814540
45952
00012751 10 Build_TabPages 2857700
45964
00012826 10 Build_Browse 3024557
45964
00012835 10 Build_MLE 3029809
45964
00012840 10 Build_CheckBox 3040333
45964
00012845 10 Build_3State 3051097
45964
00012854 10 Build_RadioButton 3071981
45964
00012861 10 Build_SpinButton 3088877
45964
00013266 10 Build_TreeView 3246719
45988
00013282 10 Build_ListBox 3253135
46000
00013293 10 Build_ComboBox 3270623
46000
00013304 10 Build_PushButton 3280960
46000
00013315 10 Build_SLEs 3293080
46000
00013320 10 Build_ScrollBars 3304008
46000
00013400 10 Build_Rtf 3379016
46032
00013401 10 Build_HTMLViewer 3379016
46032
00013523 10 Build_Statics 3484809
46104
00013537 .............................. WOW
.................................
00014646 release_QMainWindow 2095190 B 46112 KB
- 46104 = 8
00014647 2095026 Destroy: XBPDIALOG 1
00014648 ------------------------------ WOW
---------------------------------
==============================================================================
00014649 .
00014650 1 THE END 2095029
44352
00014651 release_QDesktopWidget 1355252 B 44388 KB
00014652 release_QApplication 1352714 B 44388 KB
Can someone analyze how the above data be looked into and
can summarize what next we must peep into Harbour-Qt implementation.
Viktor, you are right in observing that QWebkit is quiet heavy
and is also buggy as one object QWebView alone eats up more then
a MB even after releasing it. The above data indicates it where I have
left out XbpHTMLViewer() object.
My Observations:
1) Harbour's internal item count remains uniform across all invocations.
2) When GC collection code is called in destutions system memory keeps on
increasing
and is reclaimed when XbpDialog() goes out of scope but still a portion
of it
is never reclaimed.
Any insight will be welcome.
Regards
Pritpal Bedi
--
View this message in context:
http://old.nabble.com/HBQT---HBXBP---More-Logs-to-locate-mem-leaks-tp26150928p26150928.html
Sent from the Harbour - Dev mailing list archive at Nabble.com.
_______________________________________________
Harbour mailing list
[email protected]
http://lists.harbour-project.org/mailman/listinfo/harbour