System.OutOfMemoryException

4 posts, 0 answers
  1. Sudheer
    Sudheer avatar
    2 posts
    Member since:
    Mar 2012

    Posted 13 Apr 2012 Link to this post

    Hi,

    I recently got the below exception, couldn't reproduce it again.
    Any idea on this,

    :Error At: radpageview1_SelectedPageChanging
     | System.OutOfMemoryException | Exception of type 'System.OutOfMemoryException' was thrown. | mscorlib |    at System.Collections.Generic.Dictionary`2.Initialize(Int32 capacity)
       at System.Collections.Generic.Dictionary`2.Insert(TKey key, TValue value, Boolean add)
       at Telerik.WinControls.RadPropertyValueCollection.GetEntry(RadProperty prop, Boolean createNew)
       at Telerik.WinControls.RadElement.set_ShouldPaint(Boolean value)
       at Telerik.WinControls.Primitives.FillPrimitive.InitializeFields()
       at Telerik.WinControls.RadElement..ctor()
       at Telerik.WinControls.UI.ScrollBarButton.CreateChildElements()
       at Telerik.WinControls.RadElement.CallCreateChildElements()
       at Telerik.WinControls.RadElement.Construct()
       at Telerik.WinControls.RadElement..ctor()
       at Telerik.WinControls.RadItem..ctor()
       at Telerik.WinControls.UI.ScrollBarButton..ctor(ScrollButtonDirection direction)
       at Telerik.WinControls.UI.RadScrollBarElement.CreateChildElements()
       at Telerik.WinControls.RadElement.CallCreateChildElements()
       at Telerik.WinControls.RadElement.Construct()
       at Telerik.WinControls.RadElement..ctor()
       at Telerik.WinControls.RadItem..ctor()
       at Telerik.WinControls.UI.RadScrollBarElement..ctor()
       at Telerik.WinControls.UI.RadScrollLayoutPanel.CreateChildElements()
       at Telerik.WinControls.RadElement.CallCreateChildElements()
       at Telerik.WinControls.RadElement.Construct()
       at Telerik.WinControls.RadElement..ctor()
       at Telerik.WinControls.UI.RadScrollLayoutPanel..ctor()
       at Telerik.WinControls.UI.RadScrollViewer.CreateScrollLayoutPanel()
       at Telerik.WinControls.UI.RadScrollViewer.CreateChildElements()
       at Telerik.WinControls.RadElement.CallCreateChildElements()
       at Telerik.WinControls.RadElement.Construct()
       at Telerik.WinControls.RadElement..ctor()
       at Telerik.WinControls.RadItem..ctor()
       at Telerik.WinControls.UI.RadScrollViewer..ctor()
       at Telerik.WinControls.UI.RadDropDownMenuElement.CreateChildElements()
       at Telerik.WinControls.RadElement.CallCreateChildElements()
       at Telerik.WinControls.RadElement.Construct()
       at Telerik.WinControls.RadElement..ctor()
       at Telerik.WinControls.UI.RadDropDownMenu.CreatePopupElement()
       at Telerik.WinControls.UI.RadDropDownMenu.InitializeChildren()
       at Telerik.WinControls.UI.RadDropDownMenu..ctor(RadElement ownerElement, RadDropDownMenu parentPanel)
       at Telerik.WinControls.UI.RadDropDownMenu..ctor()
       at Telerik.WinControls.UI.RadContextMenuDropDown..ctor()
       at Telerik.WinControls.UI.RadContextMenu..ctor(IContainer owner)
       at Telerik.WinControls.UI.RadContextMenu..ctor()
       at Telerik.WinControls.UI.RadMaskedEditBoxElement..ctor()
       at Telerik.WinControls.UI.RadMaskedEditBox.CreateChildItems(RadElement parent)
       at Telerik.WinControls.RadControl.Telerik.WinControls.IComponentTreeHandler.CreateChildItems(RadElement parent)
       at Telerik.WinControls.RadControl.ComponentOverrideElementTree.CreateChildItems(RadElement parent)
       at Telerik.WinControls.RadControl.Construct()
       at Telerik.WinControls.RadControl..ctor()
       at Telerik.WinControls.UI.RadMaskedEditBox..ctor()
       at Form1.InitializeComponent()
  2. Boryana
    Admin
    Boryana avatar
    330 posts

    Posted 17 Apr 2012 Link to this post

    Hello Sudheer,

    Thank you for writing.

    We have not received reports on such issue so far. Would you please try isolate the specific case that triggers the exception? Also, we will need a sample project that demonstrates the issue, so that we can reproduce it on our side. Once our team is able to observe and analyze the exception, we will do our best to provide you with proper solution.

    I am looking forward to your reply.

    Kind regards,
    Boryana
    the Telerik team
    RadControls for WinForms Q1'12 release is now live! Check out what's new or download a free trial >>
  3. UI for WinForms is Visual Studio 2017 Ready
  4. Mallika
    Mallika avatar
    2 posts
    Member since:
    Nov 2012

    Posted 21 Nov 2012 Link to this post

    Hi Telerik Team,

    I am getting this error:

    5834728,"System.Web.UI.StateBag get_ViewState()Err : Exception of type 'System.OutOfMemoryException' was thrown.Stack :    at Telerik.Web.UI.GridStateManager.get_ViewState()

       at Telerik.Web.UI.GridEnumerableFromDataView.PerformTransformation()

       at Telerik.Web.UI.GridEnumerableFromDataView.TransformEnumerable()

       at Telerik.Web.UI.GridTableView.GetEnumerator(Boolean useDataSource, GridEnumerableBase resolvedDataSource, ArrayList dataKeysArray)

       at Telerik.Web.UI.GridTableView.CreateControlHierarchy(Boolean useDataSource)

       at Telerik.Web.UI.GridTableView.CreateChildControls(IEnumerable dataSource, Boolean useDataSource)

       at System.Web.UI.WebControls.CompositeDataBoundControl.PerformDataBinding(IEnumerable data)

       at System.Web.UI.WebControls.DataBoundControl.OnDataSourceViewSelectCallback(IEnumerable data)

       at System.Web.UI.WebControls.DataBoundControl.PerformSelect()

       at Telerik.Web.UI.GridTableView.PerformSelect()

       at Telerik.Web.UI.GridTableView.DataBind()

       at Telerik.Web.UI.RadGrid.DataBind()

       at Telerik.Web.UI.RadGrid.AutoDataBind(GridRebindReason rebindReason)

    This error is not coming on the local and the staging server. This error is coming on the production server.
    I am not sure how to resolve this error. please help in this..this is very urgent.

     

  5. Boryana
    Admin
    Boryana avatar
    330 posts

    Posted 23 Nov 2012 Link to this post

    Hi Mallika,

    The current thread is related to our WinForms suite. Since the content of your ticket suggests that you are using our ASP.NET products, I kindly ask you to open a new thread in the correct forum.

    Kind regards,
    Boryana
    the Telerik team
    Q3’12 of RadControls for WinForms is available for download (see what's new). Get it today.
Back to Top