| Summary: | BIRT postscript emitter improperly sends cached images for non-reused content which can cause out of memory or insufficient memory error in postscript interpreter on long reports. | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | z_Archived | Reporter: | nolan.letellier | ||||||
| Component: | BIRT | Assignee: | Birt-ReportEngine-inbox <Birt-ReportEngine-inbox> | ||||||
| Status: | NEW --- | QA Contact: | Hao Zhou <hao.zhou> | ||||||
| Severity: | normal | ||||||||
| Priority: | P3 | CC: | bluesoldier | ||||||
| Version: | unspecified | ||||||||
| Target Milestone: | --- | ||||||||
| Hardware: | All | ||||||||
| OS: | All | ||||||||
| Whiteboard: | |||||||||
| Attachments: |
|
||||||||
|
Description
nolan.letellier
Created attachment 203944 [details]
proposed replacement for postscript emitter header.ps file.
This is a proposed change to the header.ps file (from 2.6.2 BIRT postscript emitter) which simply leaves cached images in compressed form in postscript interpreter's memory until the image is actually rendered onto the page by drawimage operation. This will reduce memory consumption due to cached images. (for business graphics, a substantial reduction, for photo images, much less)
As noted in the bugzilla report, there are many other ways to address this issue.
Created attachment 203945 [details]
A postscript emitter generated file demonstrating images that are not reused
Note in the attached postscript file that the images /image0, /image1, /image4, and /image5 are def'ed as postscript variables and there is no action taken to free the memory occupied by them within the context of this postscript job. If this report were to continue to additional pages, the memory for these images would not be freed.
|