memory leakage problem in erl_format in windows enviroment
Fri May 20 14:25:21 CEST 2005
I am using erl_interface in windows enviroment with otp R10B-2. i am using
the following function to send messages from c exe to erlang node.
void send_5to_enode(int e1,int e2,int e3,int e4, int e5)
Result=erl_reg_send(sockfd, "enodereceiver", t1);
If the load is heavy then this function is rapidly called and at certain
times we get a error saying unhandled exception. Later we debug and found
that when erl_format is called that internally calls some memory alloc
function and we get error in this point, also some times we get error
exception in erl_reg_send(). we used function erl_eterm_statistics() to find
the allocated and freed memory blocks and some times it shows that allocated
block as -1. the attached image contains the call stack and watch values...
during the debug..
Anything to be changed on the above code?
Is your PC infected? Get a FREE online computer virus scan from McAfee®
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 46190 bytes
Desc: not available
More information about the erlang-questions