First, a little semantics, if the amount of memory usage in you computer is increasing for justifiable reasons (i.e. you are acquiring more data) this is not a memory leak, it's just how much memory your application needs to run. A memory leak is when you application is consuming more and more memory when it shouldn't be.
For example, say you have an application that's acquiring data and adding it to an array in a shift-register. Let's further assume that you have incorporated logic such that the program only saves the last 5000 samples. As the program starts running the buffer in the shift-register will start filling, and memory usage will go up. At some point though, the buffer will fill and reach it's maximum size of 5000 sample. At that point the mem
ory utilization of the application should stabilize at some level.
If it keeps going up, THAT'S a memory leak.
The most common causes of memory leaks are leaving references open, and repeatedly reopening a reference to the same resource without closing the old reference. Occasionally, a driver or other external code will also leak memory.
Mike...