I seem to have a problem with my program not releasing memory.
I am monitoring the momory use of the program.
It accesses MS Access DB's and there are many forms which can all be open at the same time and quite a few DB's that can aswell.
No when the user unloads a form using the little X in the top right or by clicking on the cmdexit button I have the following code
Unload me
DBconnection.close
I have this on all the forms.
Now I thought when u told it to unload it released from memory but it isn't and when u used the close command on a connection to a DB also unloads the DB from memory.
Could anyone give me any pointers on how to make sure everything clears out from memory
I am monitoring the momory use of the program.
It accesses MS Access DB's and there are many forms which can all be open at the same time and quite a few DB's that can aswell.
No when the user unloads a form using the little X in the top right or by clicking on the cmdexit button I have the following code
Unload me
DBconnection.close
I have this on all the forms.
Now I thought when u told it to unload it released from memory but it isn't and when u used the close command on a connection to a DB also unloads the DB from memory.
Could anyone give me any pointers on how to make sure everything clears out from memory