Folks

I'm trying out the MB pack Amila sent.

I have a Java client sending messages in a loop and a consumer picking them
up in a loop. I updated the virtualhosts to allow up to 50000 messages in a
queue:

[2011-03-23 17:08:01,047]  INFO {qpid.message.connection.open} -
[con:2(carbon@/127.0.0.1:62328/carbon)] CON-1001 : Open : Client ID : carbon
: Protocol Version : 0-10
[2011-03-23 17:08:01,174]  INFO {qpid.message.channel.create} -
[con:2(carbon@/127.0.0.1:62328/carbon)/ch:1] CHN-1001 : Create
[2011-03-23 17:08:35,134] ERROR
{org.apache.qpid.transport.network.mina.MINANetworkDriver} -  Exception
thrown and no ProtocolEngine to handle it
java.lang.OutOfMemoryError: Direct buffer memory
at java.nio.Bits.reserveMemory(Bits.java:633)
at java.nio.DirectByteBuffer.<init>(DirectByteBuffer.java:98)
 at java.nio.ByteBuffer.allocateDirect(ByteBuffer.java:288)
at sun.nio.ch.Util.getTemporaryDirectBuffer(Util.java:155)
 at sun.nio.ch.IOUtil.read(IOUtil.java:174)
at sun.nio.ch.SocketChannelImpl.read(SocketChannelImpl.java:243)
 at
org.apache.mina.transport.socket.nio.SocketIoProcessor.read(SocketIoProcessor.java:267)
at
org.apache.mina.transport.socket.nio.SocketIoProcessor.process(SocketIoProcessor.java:241)
 at
org.apache.mina.transport.socket.nio.SocketIoProcessor.access$500(SocketIoProcessor.java:44)
at
org.apache.mina.transport.socket.nio.SocketIoProcessor$Worker.run(SocketIoProcessor.java:559)
 at
org.apache.mina.util.NamePreservingRunnable.run(NamePreservingRunnable.java:43)
at java.lang.Thread.run(Thread.java:680)
[2011-03-23 17:09:07,885] ERROR
{org.apache.qpid.transport.network.mina.MINANetworkDriver} -  Exception
thrown and no ProtocolEngine to handle it
java.lang.NullPointerException
at sun.nio.ch.Util$BufferCache.get(Util.java:74)
 at sun.nio.ch.Util.getTemporaryDirectBuffer(Util.java:144)
at sun.nio.ch.IOUtil.read(IOUtil.java:174)
 at sun.nio.ch.SocketChannelImpl.read(SocketChannelImpl.java:243)
at
org.apache.mina.transport.socket.nio.SocketIoProcessor.read(SocketIoProcessor.java:267)
 at
org.apache.mina.transport.socket.nio.SocketIoProcessor.process(SocketIoProcessor.java:241)
at
org.apache.mina.transport.socket.nio.SocketIoProcessor.access$500(SocketIoProcessor.java:44)
 at
org.apache.mina.transport.socket.nio.SocketIoProcessor$Worker.run(SocketIoProcessor.java:559)
at
org.apache.mina.util.NamePreservingRunnable.run(NamePreservingRunnable.java:43)
 at java.lang.Thread.run(Thread.java:680)


>From the System Stats page:

 Host 192.168.1.100 Server Start Time 2011-03-23 15:00:15 System Up Time 0
day(s) 2 hr(s) 12 min(s) 16 sec(s) Memory Allocated 507.88 MB Memory
Usage484.57 MB

-- 
Paul Fremantle
CTO and Co-Founder, WSO2
OASIS WS-RX TC Co-chair, VP, Apache Synapse

Office: +44 844 484 8143
Cell: +44 798 447 4618

blog: http://pzf.fremantle.org
twitter.com/pzfreo
[email protected]

wso2.com Lean Enterprise Middleware

Disclaimer: This communication may contain privileged or other confidential
information and is intended exclusively for the addressee/s. If you are not
the intended recipient/s, or believe that you may have received this
communication in error, please reply to the sender indicating that fact and
delete the copy you received and in addition, you should not print, copy,
retransmit, disseminate, or otherwise use the information contained in this
communication. Internet communications cannot be guaranteed to be timely,
secure, error or virus-free. The sender does not accept liability for any
errors or omissions.
_______________________________________________
Carbon-dev mailing list
[email protected]
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev

Reply via email to