Francois Godin created AMQCPP-560:
-------------------------------------

             Summary: Memory consumption increase and crash when creating 
sessions on multiple threads
                 Key: AMQCPP-560
                 URL: https://issues.apache.org/jira/browse/AMQCPP-560
             Project: ActiveMQ C++ Client
          Issue Type: Bug
    Affects Versions: 3.8.3, 3.8.2
         Environment: Linux(gcc)
Windows(Visual studio)
            Reporter: Francois Godin
            Assignee: Timothy Bish


A program have one connection and may create many threads. Each of those thread 
can then use that connection to generate a session. The problem happen when the 
session is destroyed. The memory consumption do not go back to what it was 
before.

In addition, it seems that 3.8.3 on Windows (not tested on Linux with that 
version) is prone to crash in that situation.

I've tried valgrind and dr memory and they did not find memory leak. This 
should means that the memory is still reachable.

I've managed to build a C++11 example program. It should be noted that this 
program create only one session at a time (by using join() to wait). Also, if 
the session is created on the current thread (by not defining THREAD), then the 
memory stay stable.




--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to