<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8">
</head>
<body bgcolor="#FFFFFF" text="#000000">
Hi,<br>
Am a newbie in erlang programming world and I seriously need
some assistance. I am running an application in which am using <b>timer:apply_interval(1000,
?MODULE, monitor_loop , [])</b>, as per my analysis found that
this function call creates new processes at every 1000 millisecond
interval. Since my <b>monitor loop</b> function only takes around
800 ms to complete its duty and then it dies, the number of
processes are not getting increased. But as per my observation every
time am getting a new PID and the PID number is always increasing
and I came to know that the pid is limited by, 1 word for a process
identifier from the current local node + 5 words for a process
identifier from another node. <br>
<br>
So what will happen if my application continuous to run for
months without stopping, will it crash the entire erlang vm. How the
garbage collection will be happening for the dead process since for
every process some amount of heap memory is getting allocated. Can
somebody kindly give me some guidance.<br>
<br>
Thanks in advance,<br>
Arun <br>
</body>
</html>