Project: Birt
Bug 238342 Large Template Image File Causes Memory Exception
Reported: 2008-06-24 17:11:15 | Status: verified fixed

If you attach a large file to a rpttemplate to be used as an image, i.e. you embed a large image in a report template than you will get a memory exception when trying to look at the source of the rpttemplate. I have added a JPG that causes the error. I realize that no one should be using a file this big for an image file, but if they do the Designer needs to handle this better.

Files changed in fix:
UI/org.eclipse.birt.report.designer.ui.lib.explorer/src/org/eclipse/birt/report/designer/ui/lib/explorer/LibraryExplorerContextMenuProvider.java UI/org.eclipse.birt.report.designer.ui.lib.explorer/src/org/eclipse/birt/report/designer/ui/lib/explorer/action/ApplyThemeAction.java UI/org.eclipse.birt.report.designer.ui.views/src/org/eclipse/birt/report/designer/internal/ui/views/attributes/page/ReportPage.java UI/org.eclipse.birt.report.designer.ui/src/org/eclipse/birt/report/designer/ui/dialogs/ThumbnailBuilder.java