Jump to content
Sign in to follow this  

release resource

Recommended Posts


I have a form with several tabcontrol and resco controls on it. I realized that when this form closed, the memory state is not the same before calling this form.

So as I found not all resource is released, and aproxx. 1 MB is the different (leaking) each time I open and close the form.

I tried xxx.dispose method with each resco controls on the form.close event.

Opening 10 times this form causes notenoughmemoryexception.

Although by closing the whole application releases all the resources.

What can I do?

Thank you!

Share this post

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  


Important Information

By using this site, you agree to our Terms of Use.