Announcement Announcement Module
Collapse
No announcement yet.
memory leakage with Default MessageListenerContainer Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • memory leakage with Default MessageListenerContainer

    I am using DefaultMessageListenerContainer with tiboc server with following configuration
    <bean id="myListenerContainer" class="org.springframework.jms.listener.DefaultMes sageListenerContainer">
    <property name="connectionFactory" ref="myConnectionFactory" />
    <property name="destination" ref="myMessageQueue"/>
    <property name="messageListener" ref="myListener" />
    <property name="sessionAcknowledgeModeName" value="CLIENT_ACKNOWLEDGE"/>
    <property name="sessionTransacted" value="true"/>
    </bean>
    its working correctly for saome time sudddenly i am getting out of memory exception..
    I am using jdk1.5...

  • #2
    Hi,

    imho i think that the DefaultMessaegListenerContainer don't cause the outofmemeory error (i've used DMLC multiple times without any memory issue).

    Could you please start your application with the parameter -XX:+HeapDumpOnOutOfMemoryError option, you will get an hprof heapdumo which can be analyzed by the the jhar tool.


    Have a look here for more diagnostics on the jvm

    http://java.sun.com/j2se/1.5/pdf/jdk50_ts_guide.pdf

    It would be nice to know where the error occurs, if you were able to figure it out.

    rgds
    agim

    Comment

    Working...
    X