aboutsummaryrefslogtreecommitdiff
path: root/files/pt-br/tools/memory
diff options
context:
space:
mode:
authorPeter Bengtsson <mail@peterbe.com>2020-12-08 14:42:52 -0500
committerPeter Bengtsson <mail@peterbe.com>2020-12-08 14:42:52 -0500
commit074785cea106179cb3305637055ab0a009ca74f2 (patch)
treee6ae371cccd642aa2b67f39752a2cdf1fd4eb040 /files/pt-br/tools/memory
parentda78a9e329e272dedb2400b79a3bdeebff387d47 (diff)
downloadtranslated-content-074785cea106179cb3305637055ab0a009ca74f2.tar.gz
translated-content-074785cea106179cb3305637055ab0a009ca74f2.tar.bz2
translated-content-074785cea106179cb3305637055ab0a009ca74f2.zip
initial commit
Diffstat (limited to 'files/pt-br/tools/memory')
-rw-r--r--files/pt-br/tools/memory/index.html60
1 files changed, 60 insertions, 0 deletions
diff --git a/files/pt-br/tools/memory/index.html b/files/pt-br/tools/memory/index.html
new file mode 100644
index 0000000000..9dce9be076
--- /dev/null
+++ b/files/pt-br/tools/memory/index.html
@@ -0,0 +1,60 @@
+---
+title: Memory
+slug: Tools/Memory
+translation_of: Tools/Memory
+---
+<div>{{ToolsSidebar}}</div><p>A ferramenta de memória permite que você tire um snapshot da aba atual de memória <a class="external external-icon" href="http://en.wikipedia.org/wiki/Memory_management#HEAP" title="heap">heap</a>. Então fornece um número de visualizações do heap que lhe mostrar quais objetis account for memory usage and exactly where in your code you are allocating memory.</p>
+
+<p>{{EmbedYouTube("DJLoq5E5ww0")}}</p>
+
+<hr>
+<h3 id="Básico">Básico</h3>
+
+<div class="twocolumns">
+<ul>
+ <li><a href="/en-US/docs/Tools/Memory/Basic_operations#Opening_the_Memory_tool">Abrindo a ferramenta de memória</a></li>
+ <li><a href="/en-US/docs/Tools/Memory/Basic_operations#Taking_a_heap_snapshot">Taking a heap snapshot</a></li>
+ <li><a href="/en-US/docs/Tools/Memory/Basic_operations#Comparing_snapshots">Comparando dois snapshots</a></li>
+ <li><a href="/en-US/docs/Tools/Memory/Basic_operations#Clearing_a_snapshot">Deletando snapshots</a></li>
+ <li><a href="/en-US/docs/Tools/Memory/Basic_operations#Saving_and_loading_snapshots">Salvando e carregando snapshots</a></li>
+ <li><a href="/en-US/docs/Tools/Memory/Basic_operations#Recording_call_stacks">Recording call stacks</a></li>
+</ul>
+</div>
+
+<hr>
+<h3 id="Analisando_snapshots">Analisando snapshots</h3>
+
+<div class="geckoVersionNote">
+<p>A visualização do mapa de arvore é nova no Firefox 48, and the Dominators view is new in Firefox 46.</p>
+</div>
+
+<p>Uma vez que você tirou um snapshot, existem três principais visualizações que a ferramenta de Memória fornece:</p>
+
+<ul>
+ <li><a href="/en-US/docs/Tools/Memory/Tree_Map_view">the Tree map view</a> shows memory usage as a <a href="https://en.wikipedia.org/wiki/Treemapping">treemap</a>.</li>
+ <li><a href="/en-US/docs/Tools/Memory/Aggregate_view">the Aggregate view</a> shows memory usage as a table of allocated types.</li>
+ <li><a href="/en-US/docs/Tools/Memory/Dominators_view">the Dominators view</a> shows the "retained size" of objects: that is, the size of objects plus the size of other objects that they keep alive through references.</li>
+</ul>
+
+<p>If you've opted to record allocation stacks for the snapshot, the Aggregate and Dominators views can show you exactly where in your code allocations are happening.</p>
+
+<hr>
+<h3 id="Conceitos">Conceitos</h3>
+
+<div class="twocolumns">
+<ul>
+ <li><a href="/en-US/docs/Tools/Memory/Dominators">Dominators</a></li>
+</ul>
+</div>
+
+<hr>
+<h3 id="Páginas_de_exemplo">Páginas de exemplo</h3>
+
+<p>Exemplos usados na documentação da Memory took.</p>
+
+<div class="twocolumns">
+<ul>
+ <li><a href="/en-US/docs/Tools/Memory/Monster_example">Monster example</a></li>
+ <li><a href="/en-US/docs/Tools/Memory/DOM_allocation_example">DOM allocation example</a></li>
+</ul>
+</div>