Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
1140
Possible Memory Leak In UltraCombo?
posted

Good Morning,

I recently pushed a version of my app out for UAT.  Apparently one of the testers was experiencing  a cpu spike when working with the ultra combo's in the application.  I originally contributed this to the multi threaded design of the application and began to research where cross thread calls may occur as well as other avenues for memory leaks.  After much research I have found that the issue lies with the way the ultracombo is used within our application.  We have a mdi application that takes use of the ultracombo in several child forms as well as user controls.  I tried to recreate the issue with a new project by simply adding a combo box and a simple datasource (array list).  To no avail, all was well with the test project.  With a little more effort, I added the combo to a user control and then added a ultradockmanager to the main form.  I then docked the user control within the parent form and tested again.  I was able to recreate the issue.  When the combo is used on a child form or usercontrol much like I am doing, when the user simply clicks the combo, the processor spikes.  Any Ideas?

Parents
  • 1775
    posted

    From what you've said I don't see any relation between "processor spikes" and possible memory leak. High processor usage can be caused by very different things, and memory leak is probably the least logical explanation. Try to profile your application with a profiler (ANTS Profiler or dotTrace. Free trials are downloadable) and post the results here.

Reply Children