benlinkknilneb
Programmer
Hey all,
I'm writing a statistical package that pulls information from our plant's database. My reporting mechanism is Crystal. All my data is stored in an Access Database and moved to ADO.NET datasets for intermediate stuff.
I've noticed that my RAM is not being freed after I close down a form. The program has several subsections. When I load one of them, the memory is allocated to hold datasets and stuff, but when I click the 'x' box to close the form, the memory being used by the application does not shrink back to its original size (I'm using the WinNT Task Manager to see this).
In C/C++, any memory allocated with malloc() had to be cleared by using free(), and memory allocated by new had to be freed with delete. Does VB have a stipulation like that? I was under the impression that VB destroyed variables when they went out of scope.
I'm writing a statistical package that pulls information from our plant's database. My reporting mechanism is Crystal. All my data is stored in an Access Database and moved to ADO.NET datasets for intermediate stuff.
I've noticed that my RAM is not being freed after I close down a form. The program has several subsections. When I load one of them, the memory is allocated to hold datasets and stuff, but when I click the 'x' box to close the form, the memory being used by the application does not shrink back to its original size (I'm using the WinNT Task Manager to see this).
In C/C++, any memory allocated with malloc() had to be cleared by using free(), and memory allocated by new had to be freed with delete. Does VB have a stipulation like that? I was under the impression that VB destroyed variables when they went out of scope.