(2013/01/29 19:03), Julian Seward wrote:
From: "Chiaki ISHIKAWA" <ishik...@yk.rim.or.jp>
I could allocate 6 GB to linux 64 bits images for ordinary program
execution on my PC
But debug build of TB with all the symbols and such causes the memory
usage (including the loading of symbols)
I am surprised to hear this. Using a 64-bit build of Firefox, I can
do a complete mochitests run on Valgrind/Memcheck in about 12 CPU
hours and about 4GB RSS (4.7 GB total process size).
If you can send me details of how to build TB and run the tests
in question, I can give it a try. Valgrind has a built-in space
profiling framework, so it's not difficult to see if some aspect
of it is using more space than it should.
J
I am going to double check what I did, and
if I dont find that I made a glaring error (or errors) in creating and
running TB under memcheck on top of 64 bit linux (Debian GNU/Linux), I am
going to send you what I did (so that you can re-try my situation.).
Could it be that TB, because of the nature of its composition, has all the code
of browser AND mail-related protocol support, and thus inherently
much larger than FF browser if we include all the dynamically
library routines? : POP3, and SMTP is smallish, but IMAP
is complex enough, and on top of that, it has the local mail store which is
rather huge in terms of code support. One of these days, TB seems to have an
almost
full browser support as well. [It may not have the full GUI for browswer
support, but
rendering and https: support, etc. are all there.])
Oh, one thing I noticed: during earlier debugging, I missed many symbols for
external libraries.
But I found out that Debian releases the symbols for these libraries as
separate packages.
Once I installed these symbol packages, I could get a reasonably detailed
symbolic dumps
for memory access.
It could be that if I remove symbols for not-so-interesing libraries to
focus on only the binaries produced by TB source files, I may be able to
run memcheck in tight memory of my PC. I will investigate this avenue as well.
TIA
_______________________________________________
dev-platform mailing list
dev-platform@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-platform