vb.net - Memory Leaks causing OutOfMemory.Exception because of increasing the limit of handles -


my application contain forms. run on windows 7 , start observing handles in task manager. handles starts increasing , when reaches @ limit of 7000, application gets crash. uninstall windows update kb2670838. in doing limit of handles not exceed 800 if open 10 forms @ same time. run application on windows 8. same problem occur. uninstall same update. there no effect on application , opening 2 forms limit of handles increase upto 7000 , application gets crash.

suggest solution application run on windows 8 windows 7.

thankyou.

actually application contains many forms , 1 form contains many components. in initializecomponent() method, initialize components , in form close event dispose components i.e. mybase.dispose(). @ time of initialization, components occupy approx 600 700 handles , @ time of dispose, components release 100 handles , opening form again , again handles crosses range of 7000 , application gets crash.

as have told u before scenario occur in windows 8 not in windows 7 because have uninstall buggy update kb2670838 when uninstall update in windows 8 there no effect on , same scenario occur.


Comments

Popular posts from this blog

java - WrongTypeOfReturnValue exception thrown when unit testing using mockito -

php - Magento - Deleted Base url key -

android - How to disable Button if EditText is empty ? -