Ofmeet 0.1.8 - OutOfMemoryError: Java heap space

Hello, Delle

Ofmeet - 0.1.8

OF - 3.10.1 Alpha May 5

There was a problem with the plugin and the server as a whole.

After 40-50 minutes of the plugin’s work, Openfire freezes up.

Plugin websockets (0.0.0.9) is required for ofmeet? It has stood, when I used the old plugin Jitsi VideoBridge.

In the logs out a message that is not enough Java’s memory, I think it somehow is connected with the plugin websockets:

2015.05.28 17:46:32 org.ifsoft.websockets.XMPPServlet$XMPPWebSocket - Unhandled Error (closing connection)
2015.05.28 17:46:36 org.eclipse.jetty.server.ServerConnector -
java.lang.OutOfMemoryError: Java heap space
2015.05.28 17:46:53 org.eclipse.jetty.websocket.common.Parser -
java.lang.OutOfMemoryError: Java heap space
2015.05.28 17:47:32 org.eclipse.jetty.websocket.common.Parser -
org.eclipse.jetty.websocket.api.WebSocketException: java.lang.OutOfMemoryError: Java heap space
at org.eclipse.jetty.websocket.common.Parser.notifyFrame(Parser.java:229)
at org.eclipse.jetty.websocket.common.Parser.parse(Parser.java:258)
at org.eclipse.jetty.websocket.common.io.AbstractWebSocketConnection.readParse(Abs tractWebSocketConnection.java:628)
at org.eclipse.jetty.websocket.common.io.AbstractWebSocketConnection.onFillable(Ab stractWebSocketConnection.java:476)
at org.eclipse.jetty.io.AbstractConnection$2.run(AbstractConnection.java:540)
at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:635 )
at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:555)
at java.lang.Thread.run(Unknown Source)
Caused by: java.lang.OutOfMemoryError: Java heap space
2015.05.28 17:47:33 org.ifsoft.websockets.XMPPServlet$XMPPWebSocket - Unhandled Error (closing connection)
java.lang.RuntimeException: Cannot call method public void org.ifsoft.websockets.XMPPServlet$XMPPWebSocket#onTextMethod(java.lang.String) with args: [java.lang.String]
at org.eclipse.jetty.websocket.common.events.annotated.CallableMethod.unwrapRuntim eException(CallableMethod.java:93)
at org.eclipse.jetty.websocket.common.events.annotated.CallableMethod.call(Callabl eMethod.java:75)
at org.eclipse.jetty.websocket.common.events.annotated.OptionalSessionCallableMeth od.call(OptionalSessionCallableMethod.java:72)
at org.eclipse.jetty.websocket.common.events.JettyAnnotatedEventDriver.onTextMessa ge(JettyAnnotatedEventDriver.java:225)
at org.eclipse.jetty.websocket.common.message.SimpleTextMessage.messageComplete(Si mpleTextMessage.java:69)
at org.eclipse.jetty.websocket.common.events.AbstractEventDriver.appendMessage(Abs tractEventDriver.java:64)
at org.eclipse.jetty.websocket.common.events.JettyAnnotatedEventDriver.onTextFrame (JettyAnnotatedEventDriver.java:217)
at org.eclipse.jetty.websocket.common.events.AbstractEventDriver.incomingFrame(Abs tractEventDriver.java:160)
at org.eclipse.jetty.websocket.common.WebSocketSession.incomingFrame(WebSocketSess ion.java:309)
at org.eclipse.jetty.websocket.common.extensions.ExtensionStack.incomingFrame(Exte nsionStack.java:214)
at org.eclipse.jetty.websocket.common.Parser.notifyFrame(Parser.java:220)
at org.eclipse.jetty.websocket.common.Parser.parse(Parser.java:258)
at org.eclipse.jetty.websocket.common.io.AbstractWebSocketConnection.readParse(Abs tractWebSocketConnection.java:628)
at org.eclipse.jetty.websocket.common.io.AbstractWebSocketConnection.onFillable(Ab stractWebSocketConnection.java:476)
at org.eclipse.jetty.io.AbstractConnection$2.run(AbstractConnection.java:540)
at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:635 )
at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:555)
at java.lang.Thread.run(Unknown Source)
Caused by: java.lang.OutOfMemoryError: Java heap space
at java.util.Arrays.copyOf(Unknown Source)
at java.lang.AbstractStringBuilder.expandCapacity(Unknown Source)
at java.lang.AbstractStringBuilder.ensureCapacityInternal(Unknown Source)
at java.lang.AbstractStringBuilder.append(Unknown Source)
at java.lang.StringBuffer.append(Unknown Source)
at java.io.StringWriter.write(Unknown Source)
at org.dom4j.io.XMLWriter.writeNamespace(XMLWriter.java:1215)
at org.dom4j.io.XMLWriter.writeNamespace(XMLWriter.java:1171)
at org.dom4j.io.XMLWriter.writeElement(XMLWriter.java:914)
at org.dom4j.io.XMLWriter.writeNode(XMLWriter.java:1301)
at org.dom4j.io.XMLWriter.writeElementContent(XMLWriter.java:1136)
at org.dom4j.io.XMLWriter.writeElement(XMLWriter.java:954)
at org.dom4j.io.XMLWriter.write(XMLWriter.java:369)
at org.dom4j.tree.AbstractElement.asXML(AbstractElement.java:170)
at org.xmpp.packet.Packet.toXML(Packet.java:403)
at org.ifsoft.websockets.WSConnection.deliver(WSConnection.java:79)
at org.jivesoftware.openfire.session.LocalClientSession.deliver(LocalClientSession .java:857)
at org.jivesoftware.openfire.session.LocalSession.process(LocalSession.java:289)
at org.jivesoftware.openfire.muc.spi.LocalMUCRole.send(LocalMUCRole.java:263)
at org.jivesoftware.openfire.muc.spi.LocalMUCRoom.broadcast(LocalMUCRoom.java:1153 )
at org.jivesoftware.openfire.muc.cluster.BroadcastPresenceRequest$1.run(BroadcastP resenceRequest.java:71)
at org.jivesoftware.openfire.muc.cluster.MUCRoomTask.execute(MUCRoomTask.java:85)
at org.jivesoftware.openfire.muc.cluster.BroadcastPresenceRequest.run(BroadcastPre senceRequest.java:69)
at org.jivesoftware.openfire.muc.spi.LocalMUCRoom.broadcastPresence(LocalMUCRoom.j ava:1106)
at org.jivesoftware.openfire.muc.spi.LocalMUCRoom.presenceUpdated(LocalMUCRoom.jav a:1814)
at org.jivesoftware.openfire.muc.spi.LocalMUCUser.process(LocalMUCUser.java:566)
at org.jivesoftware.openfire.muc.spi.LocalMUCUser.process(LocalMUCUser.java:197)
at org.jivesoftware.openfire.muc.spi.MultiUserChatServiceImpl.processPacket(MultiU serChatServiceImpl.java:324)
at org.jivesoftware.openfire.component.InternalComponentManager$RoutableComponents .process(InternalComponentManager.java:591)
at org.jivesoftware.openfire.spi.RoutingTableImpl.routeToComponent(RoutingTableImp l.java:401)
at org.jivesoftware.openfire.spi.RoutingTableImpl.routePacket(RoutingTableImpl.jav a:243)
at org.jivesoftware.openfire.PresenceRouter.handle(PresenceRouter.java:170)
2015.05.28 17:48:11 org.eclipse.jetty.server.ServerConnector -
java.lang.OutOfMemoryError: Java heap space
2015.05.28 17:48:27 org.ifsoft.websockets.XMPPServlet$XMPPWebSocket - Unhandled Error (closing connection)
java.lang.RuntimeException: Cannot call method public void org.ifsoft.websockets.XMPPServlet$XMPPWebSocket#onTextMethod(java.lang.String) with args: [java.lang.String]
at org.eclipse.jetty.websocket.common.events.annotated.CallableMethod.unwrapRuntim eException(CallableMethod.java:93)
at org.eclipse.jetty.websocket.common.events.annotated.CallableMethod.call(Callabl eMethod.java:75)
at org.eclipse.jetty.websocket.common.events.annotated.OptionalSessionCallableMeth od.call(OptionalSessionCallableMethod.java:72)
at org.eclipse.jetty.websocket.common.events.JettyAnnotatedEventDriver.onTextMessa ge(JettyAnnotatedEventDriver.java:225)
at org.eclipse.jetty.websocket.common.message.SimpleTextMessage.messageComplete(Si mpleTextMessage.java:69)
at org.eclipse.jetty.websocket.common.events.AbstractEventDriver.appendMessage(Abs tractEventDriver.java:64)
at org.eclipse.jetty.websocket.common.events.JettyAnnotatedEventDriver.onTextFrame (JettyAnnotatedEventDriver.java:217)
at org.eclipse.jetty.websocket.common.events.AbstractEventDriver.incomingFrame(Abs tractEventDriver.java:160)
at org.eclipse.jetty.websocket.common.WebSocketSession.incomingFrame(WebSocketSess ion.java:309)
at org.eclipse.jetty.websocket.common.extensions.ExtensionStack.incomingFrame(Exte nsionStack.java:214)
at org.eclipse.jetty.websocket.common.Parser.notifyFrame(Parser.java:220)
at org.eclipse.jetty.websocket.common.Parser.parse(Parser.java:258)
at org.eclipse.jetty.websocket.common.io.AbstractWebSocketConnection.readParse(Abs tractWebSocketConnection.java:628)
at org.eclipse.jetty.websocket.common.io.AbstractWebSocketConnection.onFillable(Ab stractWebSocketConnection.java:476)
at org.eclipse.jetty.io.AbstractConnection$2.run(AbstractConnection.java:540)
at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:635 )
at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:555)
at java.lang.Thread.run(Unknown Source)
Caused by: java.lang.OutOfMemoryError: Java heap space
2015.05.28 17:49:57 org.eclipse.jetty.util.thread.QueuedThreadPool -
java.lang.OutOfMemoryError: Java heap space
2015.05.28 17:49:54 org.ifsoft.websockets.XMPPServlet$XMPPWebSocket - Unhandled Error (closing connection)
java.lang.RuntimeException: Cannot call method public void org.ifsoft.websockets.XMPPServlet$XMPPWebSocket#onTextMethod(java.lang.String) with args: [java.lang.String]
at org.eclipse.jetty.websocket.common.events.annotated.CallableMethod.unwrapRuntim eException(CallableMethod.java:93)
at org.eclipse.jetty.websocket.common.events.annotated.CallableMethod.call(Callabl eMethod.java:75)
at org.eclipse.jetty.websocket.common.events.annotated.OptionalSessionCallableMeth od.call(OptionalSessionCallableMethod.java:72)
at org.eclipse.jetty.websocket.common.events.JettyAnnotatedEventDriver.onTextMessa ge(JettyAnnotatedEventDriver.java:225)
at org.eclipse.jetty.websocket.common.message.SimpleTextMessage.messageComplete(Si mpleTextMessage.java:69)
at org.eclipse.jetty.websocket.common.events.AbstractEventDriver.appendMessage(Abs tractEventDriver.java:64)
at org.eclipse.jetty.websocket.common.events.JettyAnnotatedEventDriver.onTextFrame (JettyAnnotatedEventDriver.java:217)
at org.eclipse.jetty.websocket.common.events.AbstractEventDriver.incomingFrame(Abs tractEventDriver.java:160)
at org.eclipse.jetty.websocket.common.WebSocketSession.incomingFrame(WebSocketSess ion.java:309)
at org.eclipse.jetty.websocket.common.extensions.ExtensionStack.incomingFrame(Exte nsionStack.java:214)
at org.eclipse.jetty.websocket.common.Parser.notifyFrame(Parser.java:220)
at org.eclipse.jetty.websocket.common.Parser.parse(Parser.java:258)
at org.eclipse.jetty.websocket.common.io.AbstractWebSocketConnection.readParse(Abs tractWebSocketConnection.java:628)
at org.eclipse.jetty.websocket.common.io.AbstractWebSocketConnection.onFillable(Ab stractWebSocketConnection.java:476)
at org.eclipse.jetty.io.AbstractConnection$2.run(AbstractConnection.java:540)
at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:635 )
at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:555)
at java.lang.Thread.run(Unknown Source)
Caused by: java.lang.OutOfMemoryError: Java heap space
2015.05.28 17:50:50 org.ifsoft.websockets.XMPPServlet$XMPPWebSocket - Unhandled Error (closing connection)
java.lang.RuntimeException: Cannot call method public void org.ifsoft.websockets.XMPPServlet$XMPPWebSocket#onTextMethod(java.lang.String) with args: [java.lang.String]
at org.eclipse.jetty.websocket.common.events.annotated.CallableMethod.unwrapRuntim eException(CallableMethod.java:93)
at org.eclipse.jetty.websocket.common.events.annotated.CallableMethod.call(Callabl eMethod.java:75)
at org.eclipse.jetty.websocket.common.events.annotated.OptionalSessionCallableMeth od.call(OptionalSessionCallableMethod.java:72)
at org.eclipse.jetty.websocket.common.events.JettyAnnotatedEventDriver.onTextMessa ge(JettyAnnotatedEventDriver.java:225)
at org.eclipse.jetty.websocket.common.message.SimpleTextMessage.messageComplete(Si mpleTextMessage.java:69)
at org.eclipse.jetty.websocket.common.events.AbstractEventDriver.appendMessage(Abs tractEventDriver.java:64)
at org.eclipse.jetty.websocket.common.events.JettyAnnotatedEventDriver.onTextFrame (JettyAnnotatedEventDriver.java:217)
at org.eclipse.jetty.websocket.common.events.AbstractEventDriver.incomingFrame(Abs tractEventDriver.java:160)
at org.eclipse.jetty.websocket.common.WebSocketSession.incomingFrame(WebSocketSess ion.java:309)
at org.eclipse.jetty.websocket.common.extensions.ExtensionStack.incomingFrame(Exte nsionStack.java:214)
at org.eclipse.jetty.websocket.common.Parser.notifyFrame(Parser.java:220)
at org.eclipse.jetty.websocket.common.Parser.parse(Parser.java:258)
at org.eclipse.jetty.websocket.common.io.AbstractWebSocketConnection.readParse(Abs tractWebSocketConnection.java:628)
at org.eclipse.jetty.websocket.common.io.AbstractWebSocketConnection.onFillable(Ab stractWebSocketConnection.java:476)
at org.eclipse.jetty.io.AbstractConnection$2.run(AbstractConnection.java:540)
at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:635 )
at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:555)
at java.lang.Thread.run(Unknown Source)
Caused by: java.lang.OutOfMemoryError: Java heap space
2015.05.28 17:50:34 org.ifsoft.websockets.XMPPServlet$XMPPWebSocket - Unhandled Error (closing connection)
java.lang.RuntimeException: Cannot call method public void org.ifsoft.websockets.XMPPServlet$XMPPWebSocket#onTextMethod(java.lang.String) with args: [java.lang.String]
at org.eclipse.jetty.websocket.common.events.annotated.CallableMethod.unwrapRuntim eException(CallableMethod.java:93)
at org.eclipse.jetty.websocket.common.events.annotated.CallableMethod.call(Callabl eMethod.java:75)
at org.eclipse.jetty.websocket.common.events.annotated.OptionalSessionCallableMeth od.call(OptionalSessionCallableMethod.java:72)
at org.eclipse.jetty.websocket.common.events.JettyAnnotatedEventDriver.onTextMessa ge(JettyAnnotatedEventDriver.java:225)
at org.eclipse.jetty.websocket.common.message.SimpleTextMessage.messageComplete(Si mpleTextMessage.java:69)
at org.eclipse.jetty.websocket.common.events.AbstractEventDriver.appendMessage(Abs tractEventDriver.java:64)
at org.eclipse.jetty.websocket.common.events.JettyAnnotatedEventDriver.onTextFrame (JettyAnnotatedEventDriver.java:217)
at org.eclipse.jetty.websocket.common.events.AbstractEventDriver.incomingFrame(Abs tractEventDriver.java:160)
at org.eclipse.jetty.websocket.common.WebSocketSession.incomingFrame(WebSocketSess ion.java:309)
at org.eclipse.jetty.websocket.common.extensions.ExtensionStack.incomingFrame(Exte nsionStack.java:214)
at org.eclipse.jetty.websocket.common.Parser.notifyFrame(Parser.java:220)
at org.eclipse.jetty.websocket.common.Parser.parse(Parser.java:258)
at org.eclipse.jetty.websocket.common.io.AbstractWebSocketConnection.readParse(Abs tractWebSocketConnection.java:628)
at org.eclipse.jetty.websocket.common.io.AbstractWebSocketConnection.onFillable(Ab stractWebSocketConnection.java:476)
at org.eclipse.jetty.io.AbstractConnection$2.run(AbstractConnection.java:540)
at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:635 )
at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:555)
at java.lang.Thread.run(Unknown Source)
Caused by: java.lang.OutOfMemoryError: Java heap space

ofmeet does not require websockets plugin. It has it own websocket implmementation and does not need the websockets plugin. Try increasing your heap space.