canmove, Confirmed users, Bureaucrats and Sysops emeriti
1,334
edits
m (→trace-malloc with diffbloatdump: fix broken link) |
|||
| Line 157: | Line 157: | ||
==== trace-malloc with diffbloatdump ==== | ==== trace-malloc with diffbloatdump ==== | ||
The best way I know to do this is with [#Trace-malloc trace-malloc]. In a build with trace-malloc enabled you can dump the existing allocations to a file by calling the function TraceMallocDumpAllocations from JavaScript (which is equivalent to calling NS_TraceMallocDumpAllocations from C. The following web page will allow dumping of allocations: | The best way I know to do this is with [[#Trace-malloc|trace-malloc]]. In a build with trace-malloc enabled you can dump the existing allocations to a file by calling the function TraceMallocDumpAllocations from JavaScript (which is equivalent to calling NS_TraceMallocDumpAllocations from C. The following web page will allow dumping of allocations: | ||
<script type="text/javascript"> | <script type="text/javascript"> | ||