memory leakage problem in erl_format
Fri May 20 11:29:19 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.
Anything to be changed on the above code?
Express yourself instantly with MSN Messenger! Download today - it's FREE!
More information about the erlang-questions