Hi Brian,
I spoke to a developer, and we found that the memory is being fragmented by the system being killed and restarted. To make the build called 71mx3718 he used a tool called Purify to trace memory leaks using your model. He eliminated all of those memory leaksin 3718, but still observes the following: after 50,000 runs, the total memory in Windows went from 6MB up to 33MB. The total memory allocated, according to Purify, didn't change. This seems to point to memory fragmentation, which is expected from doing all the deallocation and reallocation involved.
Make sure you have 3718 installed, and notice that memory usage will creep up very slowly. But we aren't seeing any memory leaks anymore.
Richard
Richard
Field Sales Engineer, New Jersey
National Instruments