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.
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.