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

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

XMLWordPrintableJSON

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Normal Normal
    • 1.1.0
    • 1.1.0
    • Unparsing
    • None

      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

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

                Created:
                Updated:
                Resolved: