Steve Lawrence created DAFFODIL-1953:
----------------------------------------

             Summary: CLI treats OutOfMemoryError as a bug
                 Key: DAFFODIL-1953
                 URL: https://issues.apache.org/jira/browse/DAFFODIL-1953
             Project: Daffodil
          Issue Type: Bug
          Components: CLI
    Affects Versions: 2.1.0
            Reporter: Steve Lawrence
             Fix For: 2.2.0


When an OutOfMemoryError is throw, the CLI reports it as as a bug with the 
banner:
{code}
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!   An unexpected exception occurred. This is a bug!   !!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

Please report this bug and help us fix it: ...
{code}

Although this is an unexpected exception, it probably isn't really a bug in 
most cases. It usually means that default JVM memory was not sufficient for the 
size of files to be parsed. Instead of saying this is a bug, we should print 
out a message that says how one can increase this limit (e.g. setting 
DAFFODIL_JAVA_OPTS environment variable).



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to