Multiple RadColorPickers consuming too much memory

3 posts, 0 answers
  1. JFoulk
    JFoulk avatar
    14 posts
    Member since:
    Nov 2009

    Posted 28 Jun 2011 Link to this post

    I am using the RadColorPicker in an repeater control.
    Everything works well except that the browser (any browser) is consuming approximately 500MB of memory 
    with only 13 items loaded into the repeater.
    If I comment out the radcolorpicker, memory consumption drops to around 60-70MB...  which is a little 
    more appropriate.

    Memory usage is the same regardless of whether or not I handle the OnClientColorChange event, so I'm 
    pretty sure that whatever is going in is happening as a part the control's default behavior.  

    I am using the latest available controls.

    Are there any known issues with this control and memory leaks/consumption?

  2. JFoulk
    JFoulk avatar
    14 posts
    Member since:
    Nov 2009

    Posted 28 Jun 2011 Link to this post


    <asp:Panel runat="server" ID="PropertiesPanel" GroupingText="Calendars" Font-Names="Trebuchet MS">
        <asp:Repeater ID="Repeater1" runat="server" DataSourceID="ResDataSource" OnItemDataBound="Repeater1_ItemDataBound">
                <asp:Panel ID="ResPanel" runat="server">
                    <div id="spnRes" runat="server" style="font-family: Trebuchet MS; width: 100%">
                        <table width="100%" border="0">
                                <td width="100%">
                                    <asp:CheckBox ID="CheckBox1" AutoPostBack="false" onclick="CheckCheck(" Width="100%"
                                        runat="server" Text=' <%# Eval("name") %>' Font-Size="X-Small" /><input id="hidID"
                                            type="hidden" runat="server" value='<%# Eval("userid") %>' /><input id="hidChecked"
                                                type="hidden" runat="server" value='<%# Eval("ischecked") %>' />
                                    <telerik:RadColorPicker ID="RadColorPicker1" runat="server" Skin="Default" Columns="6"
                                        OnClientColorChange="ColChange" Preset="None" AutoPostBack="false" PreviewColor="False"
                                        ShowEmptyColor="False" ShowIcon="True">
                                        <telerik:ColorPickerItem Title="rsCategory000000" Value="#000000" />
                                        <telerik:ColorPickerItem Title="rsCategory0000ff" Value="#0000ff" />
                                        <telerik:ColorPickerItem Title="rsCategory003d79" Value="#003d79" />
                                        <telerik:ColorPickerItem Title="rsCategory008000" Value="#008000" />
                                        <telerik:ColorPickerItem Title="rsCategory008080" Value="#008080" />
                                        <telerik:ColorPickerItem Title="rsCategory092bcc" Value="#092bcc" />
                                        <telerik:ColorPickerItem Title="rsCategory0ed850" Value="#0ed850" />
                                        <telerik:ColorPickerItem Title="rsCategory16aa06" Value="#16aa06" />
                                        <telerik:ColorPickerItem Title="rsCategory202b3f" Value="#202b3f" />
                                        <telerik:ColorPickerItem Title="rsCategory29b382" Value="#29b382" />
                                        <telerik:ColorPickerItem Title="rsCategory2b3f20" Value="#2b3f20" />
                                        <telerik:ColorPickerItem Title="rsCategory2b4f53" Value="#2b4f53" />
                                        <telerik:ColorPickerItem Title="rsCategory333333" Value="#333333" />
                                        <telerik:ColorPickerItem Title="rsCategory353db0" Value="#353db0" />
                                        <telerik:ColorPickerItem Title="rsCategory3c4d17" Value="#3c4d17" />
                                        <telerik:ColorPickerItem Title="rsCategory3f2020" Value="#3f2020" />
                                        <telerik:ColorPickerItem Title="rsCategory3f3209" Value="#3f3209" />
                                        <telerik:ColorPickerItem Title="rsCategory470ae9" Value="#470ae9" />
                                        <telerik:ColorPickerItem Title="rsCategory4f3b6e" Value="#4f3b6e" />
                                        <telerik:ColorPickerItem Title="rsCategory514389" Value="#514389" />
                                        <telerik:ColorPickerItem Title="rsCategory519763" Value="#519763" />
                                        <telerik:ColorPickerItem Title="rsCategory540042" Value="#540042" />
                                        <telerik:ColorPickerItem Title="rsCategory5fe007" Value="#5fe007" />
                                        <telerik:ColorPickerItem Title="rsCategory65657a" Value="#65657a" />
                                        <telerik:ColorPickerItem Title="rsCategory674750" Value="#674750" />
                                        <telerik:ColorPickerItem Title="rsCategory6e4731" Value="#6e4731" />
                                        <telerik:ColorPickerItem Title="rsCategory7a350d" Value="#7a350d" />
                                        <telerik:ColorPickerItem Title="rsCategory7a3552" Value="#7a3552" />
                                        <telerik:ColorPickerItem Title="rsCategory7a7703" Value="#7a7703" />
                                        <telerik:ColorPickerItem Title="rsCategory800000" Value="#800000" />
                                        <telerik:ColorPickerItem Title="rsCategory803eb0" Value="#803eb0" />
                                        <telerik:ColorPickerItem Title="rsCategorya1eed4" Value="#a1eed4" />
                                        <telerik:ColorPickerItem Title="rsCategorya633a6" Value="#a633a6" />
                                        <telerik:ColorPickerItem Title="rsCategoryadd8e6" Value="#add8e6" />
                                        <telerik:ColorPickerItem Title="rsCategoryb44612" Value="#b44612" />
                                        <telerik:ColorPickerItem Title="rsCategoryb90000" Value="#b90000" />
                                        <telerik:ColorPickerItem Title="rsCategorybbd0ec" Value="#bbd0ec" />
                                        <telerik:ColorPickerItem Title="rsCategorycbab12" Value="#cbab12" />
                                        <telerik:ColorPickerItem Title="rsCategoryd0ecbb" Value="#d0ecbb" />
                                        <telerik:ColorPickerItem Title="rsCategoryd267d3" Value="#d267d3" />
                                        <telerik:ColorPickerItem Title="rsCategoryecbbbb" Value="#ecbbbb" />
                                        <telerik:ColorPickerItem Title="rsCategoryedd5b7" Value="#edd5b7" />
                                        <telerik:ColorPickerItem Title="rsCategoryefe908" Value="#efe908" />
                                        <telerik:ColorPickerItem Title="rsCategoryf1dcff" Value="#f1dcff" />
                                        <telerik:ColorPickerItem Title="rsCategoryf48a18" Value="#f48a18" />
                                        <telerik:ColorPickerItem Title="rsCategoryff6600" Value="#ff6600" />
                                        <telerik:ColorPickerItem Title="rsCategoryfffbc7" Value="#fad196" />
                                        <telerik:ColorPickerItem Title="rsCategoryfffbc7" Value="#fffbc7" />
        <asp:HiddenField ID="HiddenField1" runat="server" Value="" />
  3. DevCraft R3 2016 release webinar banner
  4. Niko
    Niko avatar
    383 posts

    Posted 30 Jun 2011 Link to this post

    Hi Joshua,

      After extended testing in the major browsers on the market today, i.e. IE, Firefox, Chrome, Opera and Safari. I couldn't reproduce the issue that you are reporting. The only browser that performed a bit worse was the newest version of Firefox, but the memory consumption didn't go very high altogether. With the other browsers the memory usage varied in a range from around 2-3 MB.
    Still we will observe more closely the behavior of the ColorPicker in various scenarios.

    Thank you for your active involvement in this matter.

    Kind regards,
    the Telerik team

    Browse the vast support resources we have to jump start your development with RadControls for ASP.NET AJAX. See how to integrate our AJAX controls seamlessly in SharePoint 2007/2010 visiting our common SharePoint portal.

Back to Top