[jboss-jira] [JBoss JIRA] (WFLY-3707) ":read-log-file" op throws OutOfMemoryError for big values of parameter "lines"

Harald Pehl (JIRA) issues at jboss.org
Mon Aug 4 11:00:44 EDT 2014


Harald Pehl created WFLY-3707:
---------------------------------

             Summary: ":read-log-file" op throws OutOfMemoryError for big values of parameter "lines"
                 Key: WFLY-3707
                 URL: https://issues.jboss.org/browse/WFLY-3707
             Project: WildFly
          Issue Type: Bug
      Security Level: Public (Everyone can see)
          Components: Logging
            Reporter: Harald Pehl
            Assignee: James Perkins


When passing big values for parameter "line" of the ":read-log-file" operation the servers throws an OutOfMemoryError. 

Maybe the parameter should be limited to a reasonable max-value.

If #lines(log-file) < parameter(lines) no OOME should happen at all.



--
This message was sent by Atlassian JIRA
(v6.2.6#6264)


More information about the jboss-jira mailing list