Uploaded image for project: 'Batik'
  1. Batik
  2. BATIK-790

PDF Export Slow (1 byte at a time)

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Resolution: Fixed
    • Affects Version/s: 1.1.x
    • Fix Version/s: None
    • Component/s: SVGGraphics2D
    • Labels:
      None
    • Environment:
      Operating System: All
      Platform: All

      Description

      This problem is exhibited in FreeMind
      (http://freemind.sourceforge.net/wiki/index.php/Main_Page) which I think uses
      Batik 1.1.4. The FreeMind developers say this is a Batik problem.

      When exporting a PDF file from FreeMind to PDF across a LAN, it can take 20-30
      minutes to create a 1MB PDF file. When exporting the same FreeMind file to
      PDF on a local disk, export is almost instantaneous.

      Filemon from Sysinternals (http://www.sysinternals.com) reports that the PDF
      file is being created in 1 byte increments. For a 1MB file, that equates to
      over 1 million write requests. Across a LAN, this many packets over such a
      short period of time will cause a large number of collisions, requiring many
      retransmits. The problem is worse if there is moderate network traffic on the
      LAN from other hosts.

      Windows XP Pro SP2
      JRE 1.5.0_12
      FreeMind 0.8.0

        Attachments

          Activity

            People

            • Assignee:
              batik-dev@xmlgraphics.apache.org Batik Developer's Mailing list
              Reporter:
              andrewk8@sbcglobal.net Andrew
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: