Browser crash and slow performace

13 posts, 0 answers
  1. Jordan Enchev
    Jordan Enchev avatar
    2 posts
    Member since:
    Aug 2009

    Posted 20 Aug 2009 Link to this post

    Hi
    I was checking your demo at http://demos.telerik.com/silverlight and initially it worked fine but the more examples i tried the slower  and more unresponsive it got , after a while i was unable to navigate anymore . I thought maybe the problem was in the browser plugiin , so i tried all my browsers - Firefox 3.5 , IE 7 worked but both become unresponsive and the page file the browser uses becomes around 2Gb,
    Safari 4 and Chrome 4 - both crashed .
    My system is not powerful - 2 Ghz single core 1 Gb RAM , Windows XP SP2 , Silverlight 3 , but still i think that there is a memory leak in the demo , besides the poor performance.

    I hope i helped you spot a problem , and it is not just my configuration :)
    Jordan

     

  2. Ben Hayat
    Ben Hayat avatar
    892 posts
    Member since:
    May 2008

    Posted 20 Aug 2009 Link to this post

    Is Telerik demo site the only site that behaves this way? Did you try infragitics demo and see how that works? Have you gone to Silvelight site and run some of the showcases? Try those and then give us some feedback!
  3. DevCraft banner
  4. SteveL
    SteveL avatar
    68 posts
    Member since:
    Apr 2009

    Posted 21 Aug 2009 Link to this post

    I see this too. If you go to the Chart gallery, for example, and keep selecting different charts, eventually it slows down. If you look at task manager, the browser is using more and more memory. My Firefox is currently using over 1 GB! And no, I don't see this with demos on other sites.

    Steve
  5. Jordan Enchev
    Jordan Enchev avatar
    2 posts
    Member since:
    Aug 2009

    Posted 21 Aug 2009 Link to this post

    I tried other sites and it seems that my version of Chrome can't open Silverlight sites at all , it always crashes , Safari sometimes opens them sometimes crashes,  Firefox always opens them but it is painfully slow , Internet Explorer always opens them and for some time it is ok , but gradually becomes slower. I think this happens to every site , just your demo is more visually demanding , and has more examples , so it is easier to see the degradation in the performance.  I played for longer with your demo and eventually the garbage collector runs  but it has no impact on the  performance it still degrades ...

    Maybe it is my configuration after all  , but i don't think it is that slow . Should it work fine with my parameters ?

    Jordan
  6. Ben Hayat
    Ben Hayat avatar
    892 posts
    Member since:
    May 2008

    Posted 21 Aug 2009 Link to this post

    Hi Jordan;
    Could you uninstall the Silverlight Runtime (just the runtime) from your machine, and then re-install the latestest version from MS site? I had seen this problem with one installation and that solved it.

    I also read a blog about the slowness of FF 3.5. I still use version 3.0.x which is very stable. Chrome is the fastest, but I see in many diiferent sites behave unpredictable. And I use IE mainly for testing.
  7. andrea bellagamba
    andrea  bellagamba avatar
    43 posts
    Member since:
    Jul 2009

    Posted 04 Sep 2009 Link to this post

    HI

    I recentenlty upgraded my Silverlight application from to your latest version 3 of Silverligt Controls.
    My application uses only teh RadChart controls.
    I can ensure that binding data and rendering the charts has become slower.
    I have tested the two versions using thes same data, and I can tell you that version 3 takes almost double time.
    I am using a development computer with 4 Giga RAM, so I would expect even worse performance on a regular user computer.

    Do you have any suggestion about that?
  8. Dwight
    Admin
    Dwight avatar
    475 posts

    Posted 07 Sep 2009 Link to this post

    Hello,

    There is an issue with the Service Pack theming mechanism, which leads to memory leaks.
    I have attached the latest internal build, in which this issue is resolved.

    All the best,
    Evtim
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
  9. andrea bellagamba
    andrea  bellagamba avatar
    43 posts
    Member since:
    Jul 2009

    Posted 07 Sep 2009 Link to this post

     
  10. andrea bellagamba
    andrea  bellagamba avatar
    43 posts
    Member since:
    Jul 2009

    Posted 08 Sep 2009 Link to this post

    HI,
    thanks for the post. I have referenced your latest release but now I this runtime error:

    Unhandled Error in Silverlight Application Unknown attribute Margin on element PublicationListPanel ...
    where PublicationListPanel isa user control containing a RasExpander control

    The error did not occur wuth previous version 3.
  11. Ivan
    Admin
    Ivan avatar
    519 posts

    Posted 11 Sep 2009 Link to this post

    Hi Andrea,

    If you send us the problematic project we will investigate and fix it for you.

    Regards,
    Ivan
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
  12. andrea bellagamba
    andrea  bellagamba avatar
    43 posts
    Member since:
    Jul 2009

    Posted 14 Sep 2009 Link to this post

    Hi,
     I can't send you teh entire application , but this is the page the XAML page crashing when using your latest build.

    <UserControl
        x:Class="MailMonitor.SilverLight.Statistics.Controls.PublicationsListPanel"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        xmlns:telerikNavigation="clr-namespace:Telerik.Windows.Controls;assembly=Telerik.Windows.Controls.Navigation"
        >
        <Grid x:Name="LayoutRoot">
            <Grid.Resources>
                <DataTemplate x:Key="RadPanelBarItemTemplate">
                    <StackPanel Orientation="Horizontal" Margin="5">
                        <CheckBox x:Name="_selector" IsChecked="{Binding IsChecked, Mode=TwoWay}" Margin="0 0 0 0"/>
                        <TextBlock Text="{Binding Name}" Margin="10 0 0 0"/>
                    </StackPanel>
                </DataTemplate>
            </Grid.Resources>
            <Grid HorizontalAlignment="Stretch" VerticalAlignment="Top">
                <StackPanel HorizontalAlignment="Stretch" Margin="0">
                    <telerikNavigation:RadPanelBar
                            ScrollViewer.HorizontalScrollBarVisibility="Disabled"
                            ScrollViewer.VerticalScrollBarVisibility="Disabled"
                            HorizontalAlignment="Stretch" VerticalAlignment="Stretch"
                                IsTextSearchEnabled="True"
                                x:Name="_publicationsPanel"
                                Background="White" Opacity="1" Margin="0">

                        <telerikNavigation:RadPanelBarItem x:Name="_todayBarItem" VerticalAlignment="Top"
                                    HorizontalAlignment="Stretch"
                                    ItemsSource="{Binding Today}"
                                    ItemTemplate="{StaticResource RadPanelBarItemTemplate}"                                               
                                    >
                            <telerikNavigation:RadPanelBarItem.Header>
                                <TextBlock x:Name="_todayLabel"  Text="Today" Margin="0,0,0,5" />
                            </telerikNavigation:RadPanelBarItem.Header>
                        </telerikNavigation:RadPanelBarItem>

                        <telerikNavigation:RadPanelBarItem  VerticalAlignment="Top" HorizontalAlignment="Stretch"
                                    x:Name="_lastWeekBarItem"
                                    ItemsSource="{Binding LastWeek}"
                                    ItemTemplate="{StaticResource RadPanelBarItemTemplate}"
                                    >
                            <telerikNavigation:RadPanelBarItem.Header>
                                <TextBlock x:Name="_lastWeekLabel" Margin="0,0,0,5" />
                            </telerikNavigation:RadPanelBarItem.Header>
                        </telerikNavigation:RadPanelBarItem>

                        <telerikNavigation:RadPanelBarItem  VerticalAlignment="Top" HorizontalAlignment="Stretch"
                                    x:Name="_lastMonthBarItem"
                                    ItemsSource="{Binding LastMonth}"
                                    ItemTemplate="{StaticResource RadPanelBarItemTemplate}"
                                    >
                            <telerikNavigation:RadPanelBarItem.Header>
                                <TextBlock x:Name="_lastMonthLabel" Margin="0,0,0,5" />
                            </telerikNavigation:RadPanelBarItem.Header>
                        </telerikNavigation:RadPanelBarItem>

                        <telerikNavigation:RadPanelBarItem  VerticalAlignment="Top" HorizontalAlignment="Stretch"
                                    x:Name="_otherBarItem"
                                    ItemsSource="{Binding Older}"
                                    ItemTemplate="{StaticResource RadPanelBarItemTemplate}"
                                    >
                            <telerikNavigation:RadPanelBarItem.Header>
                                <TextBlock x:Name="_olderLabel" Margin="0,0,0,5" />
                            </telerikNavigation:RadPanelBarItem.Header>
                        </telerikNavigation:RadPanelBarItem>
                    </telerikNavigation:RadPanelBar>
                </StackPanel>

            </Grid>
        </Grid>
    </UserControl>

     
  13. Ivan
    Admin
    Ivan avatar
    519 posts

    Posted 18 Sep 2009 Link to this post

    Hi Andrea,

    I apologize for the late response - here we just released a beta of our Q3 controls.

    Thank you for the code you supplied. I have previewed it and everything looks OK. The only strange point is that all panel bar items are empty, but I agreed this is because of the example.

    Attached you can find an example with your code. Actually there are three almost equally projects - the only difference is the version of assemblies they are attached to. Please give it a try and let us know how it keeps.

    Kind regards,
    Ivan
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
  14. andrea bellagamba
    andrea  bellagamba avatar
    43 posts
    Member since:
    Jul 2009

    Posted 18 Sep 2009 Link to this post

    Hi,

    thank you for your help.
    I bind the data dynamically, that's why the panel bar items are empty

    I can see that yuor example work. But I still get the error on my application.

     

    I will try to do some more investigation, but still with the version 2.0 of the radcontrols, there is no problem.

Back to Top
DevCraft banner