Details
-
Type: Task
-
Status: Closed
-
Priority: Major
-
Resolution: Done
-
Affects Version/s: None
-
Fix Version/s: 6.1.3
-
Component/s: None
-
Labels:None
-
Environment:NA
Description
We have a customer reporting an issue that their system is going frequently out of memory & our analysis points to the fact that ICESoft library is consuming this memory to generate the images
Here is the apis that we are calling
BufferedImage thumbnailImage = null;
synchronized(UAPMarkupHelper.lock) {
thumbnailImage=(BufferedImage) document.getPageImage(0, GraphicsRenderingHints.SCREEN, Page.BOUNDARY_CROPBOX, rotation, thumbScale);
}
RenderedImage rendThubnailImage = thumbnailImage;
try {
File file = new File(outputFileName);
ImageIO.write(rendThubnailImage, outputFileName.substring(outputFileName.lastIndexOf(".")+1), file);
} catch (IOException e) {
LOG.error(e);
return false;
We wanted to understand from ICESOFT, What is the benchmarking data on what amount of memory is required by this library for what type / size of documents. With this data, we can go back to the customer & tell what is the minimum memory requirement in their case.
Let us know if you have any questions on this..
Thanks,
Mayank
Here is the apis that we are calling
BufferedImage thumbnailImage = null;
synchronized(UAPMarkupHelper.lock) {
thumbnailImage=(BufferedImage) document.getPageImage(0, GraphicsRenderingHints.SCREEN, Page.BOUNDARY_CROPBOX, rotation, thumbScale);
}
RenderedImage rendThubnailImage = thumbnailImage;
try {
File file = new File(outputFileName);
ImageIO.write(rendThubnailImage, outputFileName.substring(outputFileName.lastIndexOf(".")+1), file);
} catch (IOException e) {
LOG.error(e);
return false;
We wanted to understand from ICESOFT, What is the benchmarking data on what amount of memory is required by this library for what type / size of documents. With this data, we can go back to the customer & tell what is the minimum memory requirement in their case.
Let us know if you have any questions on this..
Thanks,
Mayank
Activity
- All
- Comments
- History
- Activity
- Remote Attachments
- Subversion