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

Silverlight Reports and Caching

3 Answers 44 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
danparker276
Top achievements
Rank 2
danparker276 asked on 16 Jul 2014, 10:35 PM
So my client uses a citrix VDI to run a silverlight application and it calls a telerik silverlight report viewer.
They say their 20GB write cache disk runs out of memory very quickly and I think that the report viewer is writing to it.  I don't see the memory of the app go up when I load a large report, so I guess it's sticking it there.

And this is just a guess.

For Silverlight how would I change the cache type, I see in the docs, you mention changing the config in a web.config file, but for silverlight would you set the CacheMode property?  Or can you?

3 Answers, 1 is accepted

Sort by
0
Stef
Telerik team
answered on 21 Jul 2014, 01:56 PM
Hi Dan,

The cache management will help you improve the performance while the user interacts with the report document in the ReportViewer, as pages and their resources will be cached and the whole document would not be reprocessed on navigating, exporting or printing. This settings are applied in the web.config file as explained in the Configuring Cache help article.

If you are exporting the report programmatically, the whole report, including its resources are hold in memory and processed at once. Thus our suggestion is to filter the data using report parameters; or if the machine has enough resources to handle the report document generation - increase the timeouts of the service at both client and server sides. Keep in mind the native Silverlight printing also requires more resources and disabling it may reduce the used memory (set UseNativePrinting to false).
Additional details how to improve the performance are available in the Performance Considerations article.


If you need further help, please open a support ticket and elaborate on the scenario, the amount of data, the report complexity, when the CPU and memory usage peaks(is it specific rendering format). We will be waiting as well the requested project, including test data and results from profiling at your end.

Regards,
Stef
Telerik
 

Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

 
0
danparker276
Top achievements
Rank 2
answered on 21 Jul 2014, 02:36 PM
I'm using a Silverlight OOB, how will that look at a web.config?

I'll look into your other suggestions though.
0
Stef
Telerik team
answered on 24 Jul 2014, 06:12 AM
Hi,

It is the Reporting WCF service which uses the cache settings. Thus the settings must be added in its project's configuration file:
  1. Add the Telerik.Reporting section first in the web.config file - Telerik Reporting Configuration Section;
  2. Add the desired cache provider settings - Configuring Cache;


Regards,
Stef
Telerik
 

Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

 
Tags
General Discussions
Asked by
danparker276
Top achievements
Rank 2
Answers by
Stef
Telerik team
danparker276
Top achievements
Rank 2
Share this question
or