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

Browser crash and slow performace

12 Answers 198 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Jordan Enchev
Top achievements
Rank 1
Jordan Enchev asked on 20 Aug 2009, 06:35 PM
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

 

12 Answers, 1 is accepted

Sort by
0
Ben Hayat
Top achievements
Rank 2
answered on 21 Aug 2009, 01:06 AM
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!
0
SteveL
Top achievements
Rank 2
answered on 21 Aug 2009, 09:01 AM
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
0
Jordan Enchev
Top achievements
Rank 1
answered on 21 Aug 2009, 10:02 AM
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
0
Ben Hayat
Top achievements
Rank 2
answered on 21 Aug 2009, 12:18 PM
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.
0
andrea bellagamba
Top achievements
Rank 1
answered on 04 Sep 2009, 07:20 AM
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?
0
Dwight
Telerik team
answered on 07 Sep 2009, 01:29 PM
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.
0
andrea bellagamba
Top achievements
Rank 1
answered on 07 Sep 2009, 02:33 PM
 
0
andrea bellagamba
Top achievements
Rank 1
answered on 08 Sep 2009, 10:52 AM
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.
0
Ivan
Telerik team
answered on 11 Sep 2009, 05:30 PM
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.
0
andrea bellagamba
Top achievements
Rank 1
answered on 14 Sep 2009, 07:49 AM
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>

 
0
Ivan
Telerik team
answered on 18 Sep 2009, 07:51 AM
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.
0
andrea bellagamba
Top achievements
Rank 1
answered on 18 Sep 2009, 11:24 AM

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.

Tags
General Discussions
Asked by
Jordan Enchev
Top achievements
Rank 1
Answers by
Ben Hayat
Top achievements
Rank 2
SteveL
Top achievements
Rank 2
Jordan Enchev
Top achievements
Rank 1
andrea bellagamba
Top achievements
Rank 1
Dwight
Telerik team
Ivan
Telerik team
Share this question
or