15
edits
| Line 53: | Line 53: | ||
export XPCOM_MEM_REFCNT_LOG=bloat.log | export XPCOM_MEM_REFCNT_LOG=bloat.log | ||
<appname> resource:///res/bloatcycle.html | <appname> resource:///res/bloatcycle.html | ||
The size of the log file can easily exceeds several gigabytes on Linux and with a 32-bit browser build the above command may generate an error when the log size reaches 2GB: | |||
File size limit exceeded | |||
As a workaround use the following command to compress the log file: | |||
export XPCOM_MEM_REFCNT_LOG=/dev/stdout | |||
<appname> resource:///res/bloatcycle.html | gzip > bloat.log.gz | |||
If you want to compare two runs (e.g. test a change) do something like this: | If you want to compare two runs (e.g. test a change) do something like this: | ||
edits