Hi,<br><br>I need to analyze a process memory usage in detailed. What methods do I have? What're the reasons for Old Heap to keep on growing?<br><br>In my Erl node, when I do,<br>erlang:process_info(Pid, memory).<br><br>
I get,<br>{memory,119096}<br><br>But when I do,<br>erlang:process_info(Pid).<br><br>I get,<br>[{current_function,{gen_fsm,loop,7}},<br> {initial_call,{proc_lib,init_p,5}},<br> {status,waiting},<br> {message_queue_len,0},<br>
 {messages,[]},<br> {links,[<5052.19690.1>,<5052.19691.1>,<5052.19692.1>,<5052.16340.1>]},<br> {dictionary,[{'$ancestors',[queue5,queue_svr,<5052.476.0>,<5052.475.0>]},<br>              {'$initial_call',{gen,init_it,<br>
                                    [gen_fsm,<br>                                     <5052.16340.1>,<br>                                     <5052.16340.1>,<br>                                     test_module,<br>
                                     {838,<5052.16340.1>},<br>                                     [{spawn_opt,[{fullsweep_after,1000}]}]]}}]},<br> {trap_exit,true},<br> {error_handler,error_handler},<br> {priority,normal},<br>
 {group_leader,<5052.474.0>},<br> {heap_size,987},<br> {stack_size,13},<br> {reductions,1219},<br> {garbage_collection,[{fullsweep_after,1000}]}]<br><br>According to that my heap and stack sizes are very small. How to analyze what's in memory used by that process? I use Erl R11B-5<br>
<br>Thanks,<br>- Eranga<br><br>