Where are you running this test? How are you allocating memory? Every time you run the DLL your computer memory goes up by 1k, but if you stop, restart the test the memory is rest back to zero? What .dll are you running and where did you get it?
Rob K
Measurements Mechanical Engineer (C-Series, USB X-Series)
National Instruments
CompactRIO Developers Guide
CompactRIO Out of the Box Video