Maximum size of resources

Stimulsoft Reports.JS discussion
Post Reply
szalap
Posts: 16
Joined: Fri Oct 04, 2024 8:01 am

Maximum size of resources

Post by szalap »

Hi,

We are embedding our data into a JSON resource and I wanted to make sure we do not hit any size caps along the way.

What is a maximum supported size for:
  • a JSON resource
  • a Base64 encoded image
?

When could we expect to see any performance impact on rendering or exporting Reports?
Lech Kulikowski
Posts: 7292
Joined: Tue Mar 20, 2018 5:34 am

Re: Maximum size of resources

Post by Lech Kulikowski »

Hello,

You can use the following option to set the resource size limits:
StiOptions.Engine.reportResources.maximumSize

Thank you.
szalap
Posts: 16
Joined: Fri Oct 04, 2024 8:01 am

Re: Maximum size of resources

Post by szalap »

Thank you, Lech, I will try it when needed, though we have not yet hit any limits.

Based on this thread: viewtopic.php?p=145207#p145207 (not directly for Reports.JS), where it was mentioned there are size limits to Base64-encoded Images and rendering gets impacted if those strings are too large, I would like to find out what those limits could be and when we should expect seeing some performance hits.
Lech Kulikowski
Posts: 7292
Joined: Tue Mar 20, 2018 5:34 am

Re: Maximum size of resources

Post by Lech Kulikowski »

Hello,

We can not say exactly, need tests.

Thank you.
szalap
Posts: 16
Joined: Fri Oct 04, 2024 8:01 am

Re: Maximum size of resources

Post by szalap »

Understood, if you ever come across the number, please, share it with me :)
Lech Kulikowski
Posts: 7292
Joined: Tue Mar 20, 2018 5:34 am

Re: Maximum size of resources

Post by Lech Kulikowski »

Hello,

Ok.
Post Reply