My application uses dynamic memory in very extensive way. It allocates many
buffers for the data (up to 200MB). Memory blocks are correctly freed but
process
has still 150MB of virtual memory.
I've noticed that if I open and close any CVI window, process virtual
memory decreases to correct value (about 60 MB). So I wrote memFree
function.
Results are visible in attachment. What's going on?
void memFree(void)
{
int handle;
if ((handle = NewPanel (0, "", 10, 3000, 100, 100))>0)
DiscardPanel(handle);
}
Regards
Jaroslaw Przywieczerski
[Attachment memory.png, see below]
[See first answer for additional information]