1
0
-1

 I downloaded daffodil v1.0.0 and attempted to use it to parse text based files using an XSD schema. I am getting C:\Users\s382937\Desktop\C2 Framework\MTF-XML\USMTF Sample>..\daffodil-1.0.0\bin\daffodil.bat parse -s ..\mtfxml\USMTF\XSD\Baseline_Schemas\messages.xsd "Sample.txt"
>>
>> Java HotSpot(TM) 64-Bit Server VM warning: ignoring option MaxPermSize=256m; support was removed in 8.0
>>
>> Exception in thread "main" java.lang.OutOfMemoryError: GC overhead limit exceeded
>> Anyone has an idea where it might be a problem?

    CommentAdd your comment...

    1 answer

    1.  
      1
      0
      -1

      The MaxPermSize warning is because you are using Java 8. The scripts that run daffodil are setup still for Java 7 so get this warning.

      As for the out-of-memory issue. On a 64-bit JVM I use these options:

      export JAVA_OPTS="-Dsun.io.serialization.extendedDebugInfo=true -Xmx4G -Xms20m -Xss20m"
      export SBT_OPTS="$JAVA_OPTS"

       

        CommentAdd your comment...