Hi Nico After running mencoder for 4 days, I found that it has eaten up 400+ MB of memory. Can you guide me as to where to look for this memory consumption? I am going to look through mencoder.c and demux_avi.c, are there other places that I should be looking at? Regards Keith