Issue Details (XML | Word | Printable)

Key: AMQ-1177
Type: Bug Bug
Status: Resolved Resolved
Resolution: Fixed
Priority: Major Major
Assignee: Hiram Chirino
Reporter: Hiram Chirino
Votes: 0
Watchers: 1
Operations

If you were logged in you would be able to see more operations.
ActiveMQ

ActiveMQConnection memory leaks

Created: 26/Feb/07 10:40 AM   Updated: 05/Mar/07 08:01 AM
Return to search
Component/s: JMS client
Affects Version/s: 4.1.0
Fix Version/s: 4.1.1, 5.0.0

Time Tracking:
Not Specified


 Description  « Hide
klas eriksson: Commented on AMQ-847

I think this issue is actually two (or more memory leaks.
One in createConnection() and one in close().
I tried a very similar program with the following results:

apache-activemq-4.2-incubator-20061204.023752-14:
1. 'createConnection' followed by 'close' when activeMq-server is UP:
outOfmemory after ~1800 createConnection-close.

2. 'createConnection' without close when activeMq server is not started.
outOfmemory after < 1800 failed 'createConnection'.

I have also tried 4.0.x and 4.1.x. The leak memory too.



 All   Comments   Work Log   Change History   Subversion Commits   FishEye   Crucible      Sort Order: Ascending order - Click to sort in descending order
Hiram Chirino added a comment - 26/Feb/07 10:45 AM
#1 has been fixed in AMQ-835

Hiram Chirino added a comment - 26/Feb/07 10:46 AM
#2 has been fixed in 4.1 branch http://svn.apache.org/viewvc?view=rev&revision=511081
need to get this fix ported to trunk

Hiram Chirino made changes - 26/Feb/07 10:46 AM
Field Original Value New Value
Assignee Hiram Chirino [ chirino ]
Hiram Chirino made changes - 26/Feb/07 10:47 AM
Component/s JMS client [ 10760 ]
Fix Version/s 4.2.0 [ 11712 ]
Fix Version/s 4.1.1 [ 11800 ]
Affects Version/s 4.1.0 [ 11691 ]
514717 by  Jonas Lim (2 files)
05/Mar/07 08:00 AM (32 months, 6 days ago)
Repository Revision Date User Message
AMQ #514717 Mon Mar 05 08:00:25 PST 2007 jlim ported fix to trunk :
http://issues.apache.org/activemq/browse/AMQ-1177
Files Changed
MODIFY /activemq/trunk/activemq-core/src/main/java/org/apache/activemq/ActiveMQConnection.java
MODIFY /activemq/trunk/activemq-core/src/main/java/org/apache/activemq/ActiveMQConnectionFactory.java

Jonas Lim added a comment - 05/Mar/07 08:01 AM
ported fix to trunk : r514717

Jonas Lim made changes - 05/Mar/07 08:01 AM
Status Open [ 1 ] Resolved [ 5 ]
Resolution Fixed [ 1 ]
Create crucible review for this changeset in