You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@activemq.apache.org by "shahzad bhatti (JIRA)" <ji...@apache.org> on 2006/06/20 17:35:51 UTC

[jira] Commented: (AMQ-764) Getting OutofMemoryException after sending 2200 messages (JBoss 4.0/ActiveMQ 4.0)

    [ https://issues.apache.org/activemq/browse/AMQ-764?page=comments#action_36441 ] 

shahzad bhatti commented on AMQ-764:
------------------------------------

Another thing, I am running ActiveMQ with 800m heap size (which I increased from 512m after memory errors) and message size is 1K.

> Getting OutofMemoryException after sending 2200 messages (JBoss 4.0/ActiveMQ 4.0)
> ---------------------------------------------------------------------------------
>
>          Key: AMQ-764
>          URL: https://issues.apache.org/activemq/browse/AMQ-764
>      Project: ActiveMQ
>         Type: Bug

>   Components: JCA Container
>     Versions: 4.0 RC3
>  Environment: REDHAT 3.0
> JBoss 4.04-GA
> ActiveMQ-4.0-RC2
>     Reporter: shahzad bhatti
>      Fix For: 4.0.2
>  Attachments: activemq_jboss.zip
>
>
> I am testing ActiveMQ 4.0 with JBoss 4.0 where I am using ActiveMQ's .rar file within JBoss. I have a test applicacation that consists of following components:
> -Message driven bean listens to queue within JBoss. It receives message and invokes stateless session bean, which invokes entity bean and the message is added to the databsae (mysql). After adding message, it replies back the response to the client.
> -JBoss stateless session bean -- uses entity bean to add message to the database
> -JBoss entity bean that uses CMP to add message to the database.
> -Publisher client - uses ActiveMQ APIs to publish message to the queue and listens for response
> I find that after about 2200 messages, I get OutOfMemory exception in ActiveMQ and my application hangs. I am also attaching source code minus jar files.
> You will also need mysql database.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   https://issues.apache.org/activemq/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira