This is a migrated thread and some comments may be shown as answers.

System Hangs and throws 'Out of Exception' Error

1 Answer 44 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Nallan Krishnan
Top achievements
Rank 1
Nallan Krishnan asked on 21 Sep 2012, 06:33 AM
Hi,

We are using telerik winforms Q3 2009 SP1. The issue happens when the user continuously using the product for long hours - after 4 hours.

When they are continuously using it, the system hangs and throws 'Out of Exception' Error. All the controls get highlighted in orange color.

As it is due to memory exception error, we even tried to minimize the memory in each and every call by doing the following.

  public static void minimizeMemory()
        {
            GC.Collect(GC.MaxGeneration);
            GC.WaitForPendingFinalizers();
            SetProcessWorkingSetSize(Process.GetCurrentProcess().Handle, (UIntPtr)0xFFFFFFFF, (UIntPtr)0xFFFFFFFF);
        }
        [DllImport("kernel32.dll")]
        [return: MarshalAs(UnmanagedType.Bool)]
        private static extern bool SetProcessWorkingSetSize(IntPtr process, UIntPtr minimumWorkingSetSize, UIntPtr maximumWorkingSetSize);

But, it doesn't solve the issue.

As we are in the production, we need your immediate reply on this.

Thanks in Advance.

1 Answer, 1 is accepted

Sort by
0
Nikolay
Telerik team
answered on 21 Sep 2012, 07:41 AM
Hi Nallan,

Despite our sincere willingness to help you, there is no workaround that we can provide for that kind of issue.

I would suggest that you upgrade your license to the latest Telerik WinForms version where many issues have been addressed and many improvements have been introduced. This will also allow you to receive
uninterrupted support services from us. Please, contact sales@telerik.com or visit your account for your upgrading options.

Regards,
Nikolay
the Telerik team
RadControls for WinForms Q2'12 release is now live! Check out what's new or download a free trial >>
Tags
General Discussions
Asked by
Nallan Krishnan
Top achievements
Rank 1
Answers by
Nikolay
Telerik team
Share this question
or