Hi, all.
org.apache.activemq.command.ActiveMQObjectMessage#storeContent() is supposed
to be buggy.
ObjectOutputStream should be reset as well as other parts of acticemq do.
----------------------------------- Line 98--100 should be..
--------------------------------------------------------------
ObjectOutputStream objOut = new ObjectOutputStream(dataOut);
objOut.writeObject(object);
+ objOut.flush();
+ objOut.reset();
objOut.close();
--------------------------------------------------------------------------------------------------------------------------------------
cf. http://java.sun.com/products/jdk/serialization/faq/#OutOfMemoryError
--
View this message in context:
http://www.nabble.com/Broker-used-up-the-memory-tf2316972.html#a6598182
Sent from the ActiveMQ - User mailing list archive at Nabble.com.