when data has many "\n" causing oom

Stimulsoft Reports.JAVA discussion
Post Reply
simon ren
Posts: 67
Joined: Wed Nov 21, 2018 12:51 am

when data has many "\n" causing oom

Post 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 7648 times
report.mrt
(145.64 KiB) Downloaded 113 times

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

thanks
Last edited by simon ren on Wed Aug 16, 2023 3:40 am, edited 1 time in total.
Vadim
Posts: 362
Joined: Tue Apr 23, 2013 11:23 am

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

Post by Vadim »

Hello.

Please try latest libraries.
simon ren
Posts: 67
Joined: Wed Nov 21, 2018 12:51 am

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

Post by simon ren »

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

Please try latest libraries.
it works,thanks
Lech Kulikowski
Posts: 6197
Joined: Tue Mar 20, 2018 5:34 am

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

Post by Lech Kulikowski »

Hello,

You are welcome.
Post Reply