Quantcast
Channel: Ignite Realtime : Discussion List - All Communities
Viewing all articles
Browse latest Browse all 10742

Server Hang with "Java heap space"

$
0
0

Dear All

 

      I build openfire server with spec :

           Windows Server 2008 standard 64 bit

           2 CPU 2.4 Ghz

           Memory  4 GB

           Install openfire to D:\openfire

 

     Detail of openfire

           Install plugin : Monitor Service and Search

           User remain : 5000 account with LDAP

           Concurent : not over 25

           Client Connection remain : 60

           Traffic before hang : 225 kb per minute

           Packet count before hang : 150

    

           Created openfire-service.vmoptions to D:\openfire\bin   and push -Xms512m  -Xmx1024m  to this file

 

      When start server i found Java scale to 99% and if boardcast massage to all user server was hang with "Java heap space" in below.

 

      When restart, server still hang with message "Java heap space" must restart many time to ok but java scale still high to 99%.

 

      Please Help me solve this problem.

    

2014.02.12 16:48:59 org.jivesoftware.openfire.nio.ConnectionHandler - Java heap space

java.lang.OutOfMemoryError: Java heap space

at com.jcraft.jzlib.Deflate.deflateInit2(Deflate.java:1369)

at com.jcraft.jzlib.Deflate.deflateInit(Deflate.java:1316)

at com.jcraft.jzlib.ZStream.deflateInit(ZStream.java:127)

at com.jcraft.jzlib.ZStream.deflateInit(ZStream.java:123)

at com.jcraft.jzlib.ZStream.deflateInit(ZStream.java:117)

at org.apache.mina.filter.support.Zlib.<init>(Zlib.java:79)

at org.apache.mina.filter.CompressionFilter.onPreAdd(CompressionFilter.java:209)

at org.apache.mina.common.support.AbstractIoFilterChain.register(AbstractIoFilterC hain.java:156)

at org.apache.mina.common.support.AbstractIoFilterChain.addAfter(AbstractIoFilterC hain.java:134)

at org.jivesoftware.openfire.nio.NIOConnection.addCompression(NIOConnection.java:3 81)

at org.jivesoftware.openfire.net.StanzaHandler.compressClient(StanzaHandler.java:5 10)

at org.jivesoftware.openfire.net.StanzaHandler.process(StanzaHandler.java:187)

at org.jivesoftware.openfire.nio.ConnectionHandler.messageReceived(ConnectionHandl er.java:169)

at org.apache.mina.common.support.AbstractIoFilterChain$TailFilter.messageReceived (AbstractIoFilterChain.java:570)

at org.apache.mina.common.support.AbstractIoFilterChain.callNextMessageReceived(Ab stractIoFilterChain.java:299)

at org.apache.mina.common.support.AbstractIoFilterChain.access$1100(AbstractIoFilt erChain.java:53)

at org.apache.mina.common.support.AbstractIoFilterChain$EntryImpl$1.messageReceive d(AbstractIoFilterChain.java:648)

at org.apache.mina.common.IoFilterAdapter.messageReceived(IoFilterAdapter.java:80)

at org.apache.mina.common.support.AbstractIoFilterChain.callNextMessageReceived(Ab stractIoFilterChain.java:299)

at org.apache.mina.common.support.AbstractIoFilterChain.access$1100(AbstractIoFilt erChain.java:53)

at org.apache.mina.common.support.AbstractIoFilterChain$EntryImpl$1.messageReceive d(AbstractIoFilterChain.java:648)

at org.apache.mina.filter.codec.support.SimpleProtocolDecoderOutput.flush(SimplePr otocolDecoderOutput.java:58)

at org.apache.mina.filter.codec.ProtocolCodecFilter.messageReceived(ProtocolCodecF ilter.java:185)

at org.apache.mina.common.support.AbstractIoFilterChain.callNextMessageReceived(Ab stractIoFilterChain.java:299)

at org.apache.mina.common.support.AbstractIoFilterChain.access$1100(AbstractIoFilt erChain.java:53)

at org.apache.mina.common.support.AbstractIoFilterChain$EntryImpl$1.messageReceive d(AbstractIoFilterChain.java:648)

at org.apache.mina.filter.executor.ExecutorFilter.processEvent(ExecutorFilter.java :239)

at org.apache.mina.filter.executor.ExecutorFilter$ProcessEventsRunnable.run(Execut orFilter.java:283)

at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source)

at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)

at org.apache.mina.util.NamePreservingRunnable.run(NamePreservingRunnable.java:51)

at java.lang.Thread.run(Unknown Source)

2014.02.12 16:49:34 org.jivesoftware.openfire.interceptor.InterceptorManager - Error in interceptor: org.jivesoftware.openfire.archive.ArchiveInterceptor@935862 while intercepting:


Viewing all articles
Browse latest Browse all 10742

Trending Articles