Apr 242012
 
Oracle-Weblogic-Server

Instance has many durable subscribers to a distributed topic. It has a distributed topic with 3 members on ms1,ms2 and ms3, ms1 has 100 durable subscribers .

Message size is between 6 to 10MB.

Issue:

When a message is delivered to the topic an out of memory errors occurs. Heap Profiling shows that 98% of the heap is used by byte[] of 4096 bytes (4096=chunk size) referenced by weblogic.utils.io.Chunk objects.Out of Memory Exception

Logs:

<Oct 2, 2011 10:08:00 AM BST> <Info> <Health> <BEA-310002> <13% of the total memory in the server is free>
<Oct 2, 2011 10:25:18 AM BST> <Error> <Kernel> <BEA-000802> <ExecuteRequest failed
java.lang.OutOfMemoryError: Java heap space.
java.lang.OutOfMemoryError: Java heap space
at weblogic.utils.io.Chunk.<init>(Chunk.java:293)
at weblogic.utils.io.Chunk.getChunk(Chunk.java:141)
at
weblogic.utils.io.ChunkedOutputStream.advance(ChunkedOutputStream.java:52)
at weblogic.utils.io.ChunkedOutputStream.write(ChunkedOutputStream.java:42)
at
weblogic.utils.io.ChunkedDataOutputStream.writeUTF8(ChunkedDataOutputStream.
java:298)
at
weblogic.utils.io.ChunkedDataOutputStream.writeUTF8Chars(ChunkedDataOutputSt
ream.java:285)
at
weblogic.utils.io.ChunkedDataOutputStream.writeUTF8String(ChunkedDataOutputS
tream.java:236)
at
weblogic.utils.io.ChunkedDataOutputStream.writeUTF8(ChunkedDataOutputStream.
java:208)
at
weblogic.jms.common.TextMessageImpl.writeExternal(TextMessageImpl.java:294)
at weblogic.jms.common.JMSPushRequest.writeExternal(JMSPushRequest.java:223)
at weblogic.messaging.dispatcher.Request.writeShortened(Request.java:1321)
at
weblogic.messaging.dispatcher.DispatcherObjectHandler.writeRequest(Dispatche
rObjectHandler.java:31)
at
weblogic.messaging.dispatcher.DispatcherProxy.marshal(DispatcherProxy.java:2
14)
at
weblogic.messaging.dispatcher.DispatcherProxy.marshal(DispatcherProxy.java:1
71)
at
weblogic.messaging.dispatcher.DispatcherProxy.dispatchOneWay(DispatcherProxy
.java:149)
at
weblogic.messaging.dispatcher.DispatcherWrapperState.dispatchNoReply(Dispatc
herWrapperState.java:182)
at
weblogic.jms.dispatcher.DispatcherAdapter.dispatchNoReply(DispatcherAdapter.
java:27)
at
weblogic.jms.common.JMSServerUtilities.anonDispatchNoReply(JMSServerUtilitie
s.java:290)
at weblogic.jms.backend.BESessionImpl.pushMessages(BESessionImpl.java:1563)
at weblogic.messaging.util.DeliveryList.run(DeliveryList.java:263)
at
weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkMa
nagerImpl.java:516)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)

Continue reading “Solving weblogic.utils.io.Chunk objects.Out of Memory Exception | Weblogic” »

People Searching On This Page:
  • bea-310002
  • BEA-000802

Ramakanta

A Middleware Consultant, skilled in project implementation of J2EE Applications on Application Servers like WebSphere, WebLogic, JBoss and Tomcat, etc. My job includes Infrastructure Planning, Design, Administrative Developments, support, Installation, Configuration, Failover, High Availability, Performance Monitoring/Tuning, Analyzing and Debugging server/application/platform issues.

More Posts - Website

Follow Me:
TwitterFacebookGoogle Plus

Found Useful? +1 this post.

Did Not Find The Exact Solution..? Put A Comment With Your Question, Our Expert Tech Members Will Get Back To You!!



Stats