default report engine is not good for big report

Description

sometime my server is hung for a while.
i assume it's out of memory issue.
by investigate i see default report engine get a lot memory when it render a big report

I test by run idempiere with 3G memory.
I run report "Accounting Fact Details Report" with data of two year.
and PDFWriter get 2.3G memory to save object.

you can see detail on report on attach file

Environment

None

Activity

Show:
萩原秀明
November 29, 2016, 2:34 AM

Hi,Carlos!
It is I that should say thanks.
See you.

Carlos Ruiz
November 28, 2016, 5:10 PM

Thanks , backed out 76bfe29

Hiep Lq
October 16, 2016, 12:47 PM

thanks

萩原秀明
October 16, 2016, 2:02 AM

Hi. Hiep!

thank you for reply.
I am not sure but I think that #committed 76bfe29 is related.

If I comment out "m_layout = null" of cleanTempObj() method of ReportEngine.java, it is no problem.

萩原秀明
October 16, 2016, 1:52 AM

Reproduce:

Step1: Please dispay Report
Step2: Change Print Format.

If print format I changed has other columns in comparison with initial print format.

We can not display some columns.

iDempiere display Error:
Column not found - AD_Column_ID=1000XXX

Fixed

Assignee

Hiep Lq

Reporter

Hiep Lq

Labels

Tested By

None

Priority

Major