OutOfMemoryException raised when rendering large amounts of data

Stimulsoft Reports.Silverlight discussion
Locked
mcinp
Posts: 6
Joined: Mon Jun 13, 2011 11:52 am
Location: uk

OutOfMemoryException raised when rendering large amounts of data

Post by mcinp »

I am currently evaluating your silverlight reports viewer - I am using this in its native mode i.e. no server. Data will be supplied at runtime.

I have modified the sample in your install to render lots of data.

The viewer took approx 250 seconds to display 750,000 rows of data.

I get a 'System.OutOfMemoryException' exception when trying to use 800,000 rows of data.
This exception is raised when calling method 'report.Render()'.

Is there a workaround for this or do you have any plans to address this in the future?

Thanks.
Andrew
Posts: 4108
Joined: Fri Jun 09, 2006 3:58 am

OutOfMemoryException raised when rendering large amounts of data

Post by Andrew »

Hello,

It is not possible to optimize it in silverlight, especially when it comes to large amount of data and lack of memory.
Please send us a working example of your Application with the data on which the problem is reproduce. We will check this. Perhaps we can find some solution.

Thank you.
mcinp
Posts: 6
Joined: Mon Jun 13, 2011 11:52 am
Location: uk

OutOfMemoryException raised when rendering large amounts of data

Post by mcinp »

I have attached a modified version of your silverlight sample project that can be used to test the outOfMemory exception.

Instructions:
1. Run the attached project.
2. Within the running application, select the Reports>Simple List link.
After 5 mins or so I get the exception. If it works for you, simply change the for loop in method "Data()" to increase the amount of test data.
Attachments
1151.Demo.SL.zip
(12.48 MiB) Downloaded 315 times
Andrew
Posts: 4108
Joined: Fri Jun 09, 2006 3:58 am

OutOfMemoryException raised when rendering large amounts of data

Post by Andrew »

Hello,

Thank you for your example. On the current moment we have nothing now to optimize for a given sample. Please do not use such large amounts of data or simply split them.

Thank you.
Locked