Page 1 of 1

when data has many "\n" causing oom

Posted: Tue May 16, 2023 8:34 am
by simon ren
hello,i used stimulsoft-reports-base/lib/report 2020.5.1.jar in my application.but i found if my data has many "\n"(40,but this is reasonable data).it will causing OOM in my application when it render. through the java core dump,found the "allText" property grow too big and not stop growing.It looks like a dead cycle. in the attachment has 3 files:1.java core dump 2.report.mrt 3 data.json
coredump.jpg
coredump.jpg (345.38 KiB) Viewed 7708 times
report.mrt
(145.64 KiB) Downloaded 123 times

i think it is a bug in somewhere,can you help to Verification and repair it?

thanks

Re: when data has many "\n" causing oom

Posted: Wed May 17, 2023 8:14 am
by Vadim
Hello.

Please try latest libraries.

Re: when data has many "\n" causing oom

Posted: Thu May 18, 2023 5:44 am
by simon ren
Vadim wrote: Wed May 17, 2023 8:14 am Hello.

Please try latest libraries.
it works,thanks

Re: when data has many "\n" causing oom

Posted: Thu May 18, 2023 8:08 pm
by Lech Kulikowski
Hello,

You are welcome.