I use seamonkey 1.1.1 through a gecko's project on ATM.

I have memory leaks, but I dont know if the cause is in my code or
elsewhere.

I built seamonkey with the followings options (On windows XP)

mk_add_options MOZ_CO_PROJECT=suite
ac_add_options --enable-application=suite
mk_add_options moz_objd...@topsrcdir@/suite-opt
ac_add_options --disable-optimize
ac_add_options --enable-debug
ac_add_options --enable-debugger-info-modules=yes
ac_add_options --disable-mailnews
ac_add_options --disable-ldap
ac_add_options --disable-installer
ac_add_options --disable-tests
ac_add_options --enable-logging
ac_add_options --enable-perf-metrics
ac_add_options --disable-logrefcnt
ac_add_options --enable-shark
ac_add_options --enable-dtrace
ac_add_options --enable-boehm
ac_add_options --disable-trace-malloc
ac_add_options --enable-detect-webshell-leaks
ac_add_options --disable-strip


I set the variables

XPCOM_MEM_BLOAT_LOG=c:\membloat.log
XPCOM_MEM_LEAK_LOG=c:\memleak.log
XPCOM_MEM_LEAKY_LOG=c:\memleaky.log
NSPR_LOG_MODULES=DOMLeak:5,DocumentLeak:5,nsDocShellLeak:
5,NodeInfoManagerLeak:5
NSPR_LOG_FILE=c:\nspr.log


I got a nspr.log and a membloat.log


Into membloat.log

I see

    |<----------------Class--------------->|<-----Bytes------>|
<----------------Objects---------------->|<--------------
References-------------->|
                                              Per-Inst   Leaked
Total          Rem      Mean       StdDev         Total
Rem      Mean       StdDev
   0 TOTAL                                46            604
226079959       18 (  143,84 +/-   155,01)     530852048   32
(   72,74 +/-   120,68)
   1 AtomImpl                            12              36
229957              3 (   93,44 +/-     1,96)       4859208        3
(  286,67 +/-    25,19)
  56 XPCNativeScriptableShared  108          108   828812
1 (    8,50 +/-     0,50)                   0        0 (    0,00
+/-     0,00)
  58 XPCWrappedNative               48            48
1186643            1 (   54,15 +/-    14,52)      29195305        1
(   59,97 +/-    16,00)
  85 nsBaseDragService              44             44
1                1 (    1,00 +/-     0,00)           429416        8
(    9,00 +/-     1,08)
 290 nsNativeDragTarget              24           192
143137            8 (    5,00 +/-     0,71)           715677       16
(   15,40 +/-     1,78)
 368 nsSupportsArray                 52             52
948337            1 (   51,34 +/-     1,03)         2300702        1
(   52,88 +/-     1,18)
 379 nsThread                            24             24
6           1 (    3,27 +/-     1,68)           2649140        1
(   19,26 +/-     0,73)
 380 nsTimerImpl                        48             48
157318           1 (    5,03 +/-     0,96)            655911        1
(   10,29 +/-     1,78)
 417 nsXPCComponents             52              52   214711
1 (   10,10 +/-     2,56)          1717688        1 (   27,17 +/-
8,23)


I didn't show the lines with leaked=0

Are these logs normal ? Is there a memory leak ?

What can I do else, more logs ......


thank's for your responses

philippe
_______________________________________________
support-seamonkey mailing list
[email protected]
https://lists.mozilla.org/listinfo/support-seamonkey

Reply via email to