Subject: memory leak CIN DLL LV3
From: "Morten.Andresen" Morten.Andresen@termo.unit.no
Date: Thu, 25 Nov 1993 08:32:24 +0100



Hi

I have some trouble with memory leak when I call a Watcom DLL from a
LabVIEW 3 CIN in Windows. Have some of you solved the problem will I be
happy to hear it.

The problem is:

When you call a large DLL and use loadLibrary and then FreeLibrary it will
not free up all the memory.
In the Watcom 9.0 there was no documented way to free up the memory, but in
the latest 9.5 they have documented a command "free" that should take care
of freeing up the memory frome the dll.
The problem is that we cant call thise command from a CIN, because we think
the function not is included in labVIEW 3. Maybe we have wrong? Did any
of you have a solution or a workaround that can be used?

Morten

Morten.Andresen@termo.unit.no

Norwegian Institute of Technology