Mobile/MemoryOptimization
From MozillaWiki
< Mobile
Tools
The best tool is probably Massif, in valgrind.
This will work:
valgrind --smc-check=all --trace-children=yes --tool=massif ./fennec
Note that you need --smc-check=all even in Massif, or you will crash in pages with JS JIT stuff.