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
70
Memory lean in Infragistics control
posted

Helo,

We are using Infragistics2.Win.UltraWinInkProvider.Ink17.v10.2 along with UltraMaskedEdit. Masked edit control is placed on a modal dialog window. When we click the icon near the masked editor, drilldown window for tablet pc comes and it takes some memory. But upon clsoing on modal window, it doesnt releases memory, though we explicitly called to dispose all controls in the modal form.

After sevevral times opening the modal window will result in considerable memory usage and starts freezing/crashing.

Thanks

Rajesh DG

Code.zip
Parents
No Data
Reply
  • 469350
    Offline posted

    Hi Rajesh,

    I tried to run your sample, but I was unable to, because there appear to be quite a number of files missing, including the solution file (which determines the version of visual studio the project belongs to), the license file, assemblyinfo, resources, and settings. Can you post a complete project so I can check it out?

    Also... how are you determining the memory usage?

    Does it go up by the same amount every time you drop down the ink panel?

    Are you sure the MaskEditor control is getting disposed?

    It's possible that the memory is getting freed-up, but that it simply hasn't been collected yet. Try calling the following code before you check the memory usage and see if it makes any difference:

    GC.Collect();

    GC.WaitForPendingFinalizers();

    GC.Collect();

Children