ICEpdf
  1. ICEpdf
  2. PDF-1043

Memory benchmarking details required for image creation

    Details

    • Type: Task Task
    • Status: Closed
    • Priority: Major 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

        Activity

        There are no subversion log entries for this issue yet.

          People

          • Assignee:
            Patrick Corless
            Reporter:
            Mayank Bathiya
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: