From 0af74844f837620e091719f7e1187331aa2e2eb4 Mon Sep 17 00:00:00 2001 From: Lukas Larsson Date: Tue, 3 Sep 2019 10:20:02 +0200 Subject: erts: Add units to all crash dump doc memory slogans --- erts/doc/src/crash_dump.xml | 25 +++++++++++-------------- 1 file changed, 11 insertions(+), 14 deletions(-) diff --git a/erts/doc/src/crash_dump.xml b/erts/doc/src/crash_dump.xml index 876834307a..b517f014c1 100644 --- a/erts/doc/src/crash_dump.xml +++ b/erts/doc/src/crash_dump.xml @@ -395,9 +395,9 @@ Slogan: <reason> Heap fragment data -

Size of fragmented heap data. This is data either created by - messages sent to the process or by the Erlang BIFs. This - amount depends on so many things that this field is utterly +

Size of fragmented heap data, in words. This is data either + created by messages sent to the process or by the Erlang BIFs. + This amount depends on so many things that this field is usually uninteresting.

Link list @@ -415,11 +415,11 @@ Slogan: <reason> Stack+heap -

The size of the stack and heap (they share memory segment).

+

The size of the stack and heap, in words (they share memory segment).

OldHeap -

The size of the "old heap". The Erlang virtual machine uses +

The size of the "old heap", in words. The Erlang virtual machine uses generational garbage collection with two generations. There is one heap for new data items and one for the data that has survived two garbage collections. The assumption (which is @@ -432,14 +432,14 @@ Slogan: <reason> Heap unused, OldHeap unused -

The amount of unused memory on each heap. This information is +

The amount of unused memory on each heap, in words. This information is usually useless.

Memory -

The total memory used by this process. This includes call stack, - heap, and internal structures. Same as - +

The total memory used by this process, in bytes. + This includes call stack, heap, and internal structures. + Same as erlang:process_info(Pid,memory).

Program counter @@ -531,8 +531,7 @@ Slogan: <reason> Words -

The number of words (usually 4 bytes/word) allocated to data - in the table.

+

The number of words allocated to data in the table.

Type @@ -672,8 +671,6 @@ Slogan: <reason> -

The memory use is in bytes.

-

Then, all loaded modules are listed. The following fields exist:

@@ -687,7 +684,7 @@ Slogan: <reason> Old size -

Memory use for the old code, if any.

+

Memory use for the old code, in bytes.

Current attributes -- cgit v1.2.1