options.setImageHandler(new HTMLServerImageHandler());
options.setBaseImageURL(SystemListener.getContextPath() + "/platform/reports/images");
options.setImageDirectory(FileUtils.getAbsolutePath("/platform/reports/images"));
task.setRenderOption(options);
task.run();
task.close();
total=(float)Runtime.getRuntime().totalMemory()/1000000 - total;
LOG.info("完成渲染报表,耗时:"+ConvertUtils.getTimeDes(System.currentTimeMillis()-start)+" ,耗费内存:"+total+"M");
return out.toByteArray();
} catch (EngineException | NumberFormatException e) {