Increase in heap size

maruthavanan s <>
Fri Dec 18 10:32:32 CET 2009


Hi,

I have a old code written by some one else, this is not a OTP,

start()->
receive
{data,Data}->
       process_data(Data);
end,
start().

After I run my system this process heap size is increase to enourmous extent with bigger values of reductions.

I could not understand reductions. Is this not a good programing practice? What would be the right way? what should I do to optimize this?

Please help.

Regards,
Marutha
 		 	   		  


More information about the erlang-questions mailing list