mheeg
asked on
Memory Leak using MDI Child Forms
I am currently working on a VB5 project that uses about 10 MDI Child forms. During testing we found that as we opened up multiple instances of the same form and other forms, we are losing from 15 - 40 kb of memory per form. After about 3-4 hours of continuous use, the program receives an access violation Exception error. Is there anyway to release all resources allocated to these forms, or at least minimize what they waste?
ASKER
I am working on an NT 4.0 Workstation using SP3
ASKER
We currently use:
Unload Me
And then in the Unload Event:
Set frmWhatever = Nothing
Is this pretty much what you had in mind?
Unload Me
And then in the Unload Event:
Set frmWhatever = Nothing
Is this pretty much what you had in mind?
ASKER
We currently use:
Unload Me
And then in the Unload Event:
Set frmWhatever = Nothing
Is this pretty much what you had in mind?
Unload Me
And then in the Unload Event:
Set frmWhatever = Nothing
Is this pretty much what you had in mind?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Did you ever find a better answer for this? I'm having the same problem and really need to fix it.
M