<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1">
</head>
<body bgcolor="#FFFFFF" text="#000000">
Howdy,<br>
<br>
I am having some weirdness. Running on the latest build of R16B
(erts-5.10.1). Per the documentation
(<a class="moz-txt-link-freetext" href="http://erlang.org/doc/man/erlang.html#process_info-2">http://erlang.org/doc/man/erlang.html#process_info-2</a>),<br>
when I call it:<br>
<br>
Info = erlang:process_info(self(), [memory, heap_size,
message_que_len]),<br>
<br>
I get the following error:<br>
<br>
* Reason for termination ==<br>
** {badarg,[{erlang,process_info,<br>
[<0.127.0>,[memory,heap_size,message_que_len]],<br>
[]},<br>
<br>
When I call it without message_que_len, or instead use messages:<br>
<br>
Info = erlang:process_info(self(), [memory, heap_size, messages]),<br>
<br>
Life is good. According to the docs, message_que_len is a valid
<meta charset="utf-8">
process_info_item(). Is the documentation wrong, or am I doing
something wrong?<br>
<br>
Note that this also happens in the shell.<br>
<br>
Thanks again!<br>
<br>
Cheers,<br>
Bryan<br>
<br>
<div class="moz-signature">-- <br>
<p style="font-size:12px">
Bryan Hughes<br>
<b>Go Factory</b><br>
<a class="moz-txt-link-freetext" href="http://www.go-factory.net">http://www.go-factory.net</a><br>
<br>
<i>"Art is never finished, only abandoned. - Leonardo da Vinci"</i><br>
</p>
<p><br>
</p>
</div>
</body>
</html>