Thanks. Actually, this information is in ERTS manual section 1.2.10. You always find the answer to your question after you have posted the email. By the way, great documentation. <br><br>For whatever reason, google search didn't give me anything. Funny thing is that I was reading the document 1 day before and my brain automatically ignored it as irrelevant due to information overload. Once I start playing around it in the shell this does seem a valuable info.
<br><br>Thank you.<br>russ<br><br><div class="gmail_quote">On 22 Jan 2008 09:43:31 +0100, Bjorn Gustavsson <<a href="mailto:firstname.lastname@example.org">email@example.com</a>> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div class="Ih2E3d">"Russell King" <<a href="mailto:firstname.lastname@example.org">email@example.com</a>> writes:<br><br>> Can someone tell me what is y(0),y(1)..,y(4), heap fragment data, number of
<br>> heap fragments, link list, reductions, stack+heap?<br><br></div>y(0) and so on are locations on the stack frame. Each location<br>contain a value that need to survive a function call.<br><br>Heap fragment data is Erlang terms allocated outside the heap for the
<br>process by BIFs because there was insufficient room left on the heap.<br>In R12B, heap fragments are garbage-collected away as soon as the BIF<br>is done, so it is unlikely that the value would ever be non-zero.<br><br>
Number of heap fragments - see above, likely to always be zero in R12B.<br><br>Link list - all processes or ports that this process is linked to.<br><br>Reductions - a counter that is incremented for every function call (and
<br>by some BIFs too). There will be a context switch when the number of reductions<br>reaches a certain value (currently 2000).<br><br>Stack+heap - the size of the memory block allocated for the heap and<br>stack for the Erlang process. The stack and heap grow towards each other.
<br><br>/Bjorn<br><font color="#888888">--<br>Björn Gustavsson, Erlang/OTP, Ericsson AB<br>_______________________________________________<br>erlang-questions mailing list<br><a href="mailto:firstname.lastname@example.org">email@example.com
</a><br><a href="http://www.erlang.org/mailman/listinfo/erlang-questions" target="_blank">http://www.erlang.org/mailman/listinfo/erlang-questions</a><br></font></blockquote></div><br>