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

Escape block test using escapeEscapeCharacter using large amounts of Java Heap Space

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Normal
    • Resolution: Fixed
    • Affects Version/s: 1.1.0
    • Fix Version/s: 1.1.0
    • Component/s: Unparsing
    • Labels:
      None

      Description

      I wrote a parserTestCase to accompany a failing unparserTestCase (DFDL-1314 Unparse: escapeEscapeCharacter not behaving properly). This test demonstrates escape blocks, and using an escapeEscapeCharacter to escape them. When running the test, it seems to take quite some time, and eventually errs out with "java.lang.OutOfMemoryError: Java heap space." I've given sbt 6GB of RAM and this still occurs.

      The test is parseDelimitedEscapedString04
      in the following files:
      daffodil-test/src/test/resources/edu/illinois/ncsa/daffodil/section07/escapeScheme/escapeSchemeUnparse.tdml
      daffodil-test/src/test/scala-debug/edu/illinois/ncsa/daffodil/section07/escapeScheme/TestEscapeSchemeUnparseDebug.scala

        Gliffy Diagrams

          Attachments

            Activity

              People

              Assignee:
              jchab Jessie Chab
              Reporter:
              jchab Jessie Chab
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Tasks