Problems with RichText component

Stimulsoft Reports.WEB discussion
Post Reply
Daniel Schmitz
Posts: 32
Joined: Tue Jul 03, 2012 2:16 pm

Problems with RichText component

Post by Daniel Schmitz »

Hi, recently we started having problems with reports using the RichText component, in Stimulsoft Reports.Web version 2017.1, where reports with a lot of text inside this component started to consume a high quantity of memory. The first thing we tried was to update to a newer version, and at first sight it seems it resolved the problem. But with a bit more tests, we have encountered some other problems.

The report is a contract, with almost all data being pure text, where the RichText component carries arround 20 pages of text. But sometimes, with no apparent reason, the number of pages increased slightly (sometimes with more than 3000 pages), with only blank pages.

In attachment, the MRT report, and 2 PDFs printed by the same report, demonstrating the problem.

Thank you.
Attachments
WrongReport.pdf
(1.66 MiB) Downloaded 142 times
report.mrt
(246.01 KiB) Downloaded 147 times
CorrectReport.pdf
(297.23 KiB) Downloaded 141 times
Lech Kulikowski
Posts: 6245
Joined: Tue Mar 20, 2018 5:34 am

Re: Problems with RichText component

Post by Lech Kulikowski »

Hello,

We couldn't reproduce the issue.
Please send us a sample project which reproduces the issue for analysis.

Thank you.
Lech Kulikowski
Posts: 6245
Joined: Tue Mar 20, 2018 5:34 am

Re: Problems with RichText component

Post by Lech Kulikowski »

Hello,

Also, something similar was in one case, when tried to render reports in parallel threads. The problem was solved only by abandoning parallel threads (at least for reports with RichText).

Thank you.
Daniel Schmitz
Posts: 32
Joined: Tue Jul 03, 2012 2:16 pm

Re: Problems with RichText component

Post by Daniel Schmitz »

Hi, thanks for the replay.

Actually, this is exactly our cenario. There are always 2 reports being rendered in parallel. However, even if we abandon the parallelism, there's nothing that prevents two different users from rendering these reports at the same time. In this case, wouldn't the problem occur anyway?
Lech Kulikowski
Posts: 6245
Joined: Tue Mar 20, 2018 5:34 am

Re: Problems with RichText component

Post by Lech Kulikowski »

Hello,

In the Net Framework, there are no normal methods for working with RichText, and those methods that have to be used do not work correctly in parallel threads

As a way, try to render in Wpf, there are other components and methods.
But! if then it will be necessary export to pdf - the export goes only through WinForms methods, so most likely it will not look quite correct in pdf in size components.

Thank you.
Lamirande
Posts: 1
Joined: Tue Apr 23, 2019 8:37 am

Re: Problems with RichText component

Post by Lamirande »

What exactly do you gain by rendering in Wpf with regards to this problem, Lech?
Get these weight loss shakes for the win and get healthier.
Lech Kulikowski
Posts: 6245
Joined: Tue Mar 20, 2018 5:34 am

Re: Problems with RichText component

Post by Lech Kulikowski »

Hello,

Sorry, maybe we did not exactly understand your question. Could you explain your question in more details?

Thank you.
Post Reply