activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ChicagoBob123 <b...@bobfx.com>
Subject ActiveMQ 5.2.0 + REST + HTTP POST = java.lang.OutOfMemoryError
Date Thu, 16 Sep 2010 14:25:13 GMT

Is this true? 
http://stackoverflow.com/questions/811732/activemq-5-2-0-rest-http-post-java-lang-outofmemoryerror

It seems that the only solution is to write your own which is what the
originator of the post indicated. I know very little about java (not coded
any it in almost 15 years) but from what I can tell there is a bad bug here.
Wondering if it has been addressed? Or is there a new MessageServlet I can
use? 




No, I do not agree that increasing the Java HEAP size is the solution.
Ultimately, I abandoned using "MessageServlet" included with AMQ 5.2.0 and
wrote my own small web application (servlet + helper classes) from scratch
to receive messages as HTTP POST request messages and insert them into an
ActiveMQ message queue. The application is deployed to the embedded Jetty
servlet container and my experiences with ActiveMQ 5.2.0 and Jetty have been
positive thus far. The problems with runaway memory consumption and an ever
increasing thread count have not manifested despite rigorous testing. –
Bruce Loth Mar 11 at 15:40
-- 
View this message in context: http://activemq.2283324.n4.nabble.com/ActiveMQ-5-2-0-REST-HTTP-POST-java-lang-OutOfMemoryError-tp2542303p2542303.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Mime
View raw message