Uploaded image for project: 'Daffodil'
  1. Daffodil
  2. DFDL-1790

Unparsing infoset file for 1mb jpeg using w3cdom requires 6gb more java memory than other infoset formats


    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Normal Normal
    • 2.0.0
    • 2.0.0
    • Performance
    • None
    • Performance test platform

      With the DAFFODIL_JAVA_OPTS memory set to 10240mb the unparsing test infoset file for 1mb jpeg, using option -I w3cdom ran for over an hour without completing. When the test was killed the following error is displayed:

      "COpenJDK 64-Bit Server VM warning: Exception java.lang.OutOfMemoryError occurred dispatching signal SIGINT to handler- the VM may need to be forcibly terminated"

      Had to increase the DAFFODIL_JAVA_OPTS memory setting to 16384mb before the test would complete with an unparsed time of approximately 41 seconds.

      The same test using option I scala--xml and jdom completed in approximately 16 seconds with the DAFFODIL_JAVA_OPTS memory set to 10240mb.


              dthompson David Thompson
              dthompson David Thompson
              0 Vote for this issue
              2 Start watching this issue