[
https://issues.jboss.org/browse/WFLY-10813?page=com.atlassian.jira.plugin...
]
Brian Stansberry commented on WFLY-10813:
-----------------------------------------
Thanks, [~harald.pehl]. The server certainly shouldn't OOME in response to a
management request. The stack trace in the description isn't showing me anything
obvious; I fear it just happens to be a point where the last bit of memory is used up, not
that that trace is using huge memory itself. Knowing what the console's invoking will
help track it down.
[~jmesnil] FYI.
OutOfMemory error when trying to display resource adapters in web
console
-------------------------------------------------------------------------
Key: WFLY-10813
URL:
https://issues.jboss.org/browse/WFLY-10813
Project: WildFly
Issue Type: Bug
Components: Management, Web Console
Affects Versions: 10.0.0.Final, 13.0.0.Final
Reporter: Helena Knyttlová
Assignee: Harald Pehl
Priority: Minor
We have about 25 resource adapters set through CLI. When I want to display them in web
administration console it kills the whole wildfly server - server is not responding and
after several minutes it ends up with OutOfMemory error and server must be restarted.
We've seen this issue since wildfly 10 (it was the first version we used). With only a
few resource adapters it is not happening.
Memory settings: JAVA_OPTS="-Xms512m -Xmx1024m -XX:MetaspaceSize=96M
-XX:MaxMetaspaceSize=256m
The error which appeared on WidlFly 13.0.0.Final:
{panel:title=Log}
ERROR [org.jboss.as.controller.management-operation] (External Management Request Threads
-- 1) WFLYCTL0013: Operation ("read-resource-description") failed - address: ([
("subsystem" => "resource-adapters"),
("resource-adapter" => "AppAdapter"),
("connection-definitions" => "cp-host")
]): java.lang.OutOfMemoryError: Java heap space
at java.util.HashMap.resize(HashMap.java:704)
at java.util.HashMap.putVal(HashMap.java:629)
at java.util.HashMap.put(HashMap.java:612)
at org.jboss.dmr.ObjectModelValue.copy(ObjectModelValue.java:180)
at org.jboss.dmr.ObjectModelValue.copy(ObjectModelValue.java:169)
at org.jboss.dmr.ModelNode.clone(ModelNode.java:1867)
at org.jboss.dmr.ObjectModelValue.copy(ObjectModelValue.java:180)
at org.jboss.dmr.ObjectModelValue.copy(ObjectModelValue.java:169)
at org.jboss.dmr.ModelNode.clone(ModelNode.java:1867)
at org.jboss.dmr.ObjectModelValue.copy(ObjectModelValue.java:180)
at org.jboss.dmr.ObjectModelValue.copy(ObjectModelValue.java:169)
at org.jboss.dmr.ModelNode.clone(ModelNode.java:1867)
at org.jboss.dmr.ObjectModelValue.copy(ObjectModelValue.java:180)
at org.jboss.dmr.ObjectModelValue.copy(ObjectModelValue.java:169)
at org.jboss.dmr.ModelNode.set(ModelNode.java:693)
at
org.jboss.as.controller.operations.global.ReadResourceDescriptionHandler$ReadResourceDescriptionAssemblyHandler.execute(ReadResourceDescriptionHandler.java:618)
at
org.jboss.as.controller.AbstractOperationContext.executeStep(AbstractOperationContext.java:999)
at
org.jboss.as.controller.AbstractOperationContext.processStages(AbstractOperationContext.java:743)
at
org.jboss.as.controller.AbstractOperationContext.executeOperation(AbstractOperationContext.java:467)
at
org.jboss.as.controller.OperationContextImpl.executeOperation(OperationContextImpl.java:1404)
at
org.jboss.as.controller.ModelControllerImpl.internalExecute(ModelControllerImpl.java:423)
at
org.jboss.as.controller.ModelControllerImpl.lambda$execute$1(ModelControllerImpl.java:243)
at org.jboss.as.controller.ModelControllerImpl$$Lambda$490/414756260.run(Unknown
Source)
at
org.wildfly.security.auth.server.SecurityIdentity$$Lambda$491/367363594.run(Unknown
Source)
at
org.wildfly.security.auth.server.SecurityIdentity.runAs(SecurityIdentity.java:263)
at
org.wildfly.security.auth.server.SecurityIdentity.runAs(SecurityIdentity.java:229)
at
org.jboss.as.controller.ModelControllerImpl.execute(ModelControllerImpl.java:243)
at
org.jboss.as.domain.http.server.DomainApiHandler.handleRequest(DomainApiHandler.java:212)
at
io.undertow.server.handlers.encoding.EncodingHandler.handleRequest(EncodingHandler.java:72)
at
org.jboss.as.domain.http.server.DomainApiCheckHandler.handleRequest(DomainApiCheckHandler.java:93)
at
org.jboss.as.domain.http.server.security.ElytronIdentityHandler.lambda$handleRequest$0(ElytronIdentityHandler.java:62)
at
org.jboss.as.domain.http.server.security.ElytronIdentityHandler$$Lambda$790/1228674018.run(Unknown
Source)
{panel}
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)