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

James Perkins (JIRA) issues at jboss.org
Fri Nov 14 17:59:30 EST 2014


     [ https://issues.jboss.org/browse/WFLY-3707?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

James Perkins closed WFLY-3707.
-------------------------------
    Resolution: Out of Date


Closing as the operations have changed. It's possible to still see this if a large number of lines are requested, but at the point it would make sense to use the new stream option.

> ":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
>          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.3.8#6338)


More information about the jboss-jira mailing list