[ https://issues.apache.org/jira/browse/ARTEMIS-4161?focusedWorklogId=845919&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-845919 ]
ASF GitHub Bot logged work on ARTEMIS-4161: ------------------------------------------- Author: ASF GitHub Bot Created on: 16/Feb/23 15:47 Start Date: 16/Feb/23 15:47 Worklog Time Spent: 10m Work Description: gemmellr commented on code in PR #4363: URL: https://github.com/apache/activemq-artemis/pull/4363#discussion_r1108675431 ########## tests/leak-tests/pom.xml: ########## @@ -0,0 +1,250 @@ +<!-- + Licensed to the Apache Software Foundation (ASF) under one or more + contributor license agreements. See the NOTICE file distributed with + this work for additional information regarding copyright ownership. + The ASF licenses this file to You under the Apache License, Version 2.0 + (the "License"); you may not use this file except in compliance with + the License. You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +--> +<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> + <modelVersion>4.0.0</modelVersion> + + <parent> + <groupId>org.apache.activemq.tests</groupId> + <artifactId>artemis-tests-pom</artifactId> + <version>2.29.0-SNAPSHOT</version> + </parent> + + <artifactId>leak-tests</artifactId> + <packaging>jar</packaging> + <name>ActiveMQ Artemis Leak Tests</name> + + <properties> + <activemq.basedir>${project.basedir}/../..</activemq.basedir> + <check-leak-version>0.7</check-leak-version> + <! Issue Time Tracking ------------------- Worklog Id: (was: 845919) Time Spent: 4h 40m (was: 4.5h) > AMQP and OpenWire have a few Leaks during open and close connections > -------------------------------------------------------------------- > > Key: ARTEMIS-4161 > URL: https://issues.apache.org/jira/browse/ARTEMIS-4161 > Project: ActiveMQ Artemis > Issue Type: Bug > Affects Versions: 2.28.0 > Reporter: Clebert Suconic > Assignee: Clebert Suconic > Priority: Major > Fix For: 2.29.0 > > Time Spent: 4h 40m > Remaining Estimate: 0h > > OpenWire and AMQP are leaking objects in the following scenarios: > AMQP: > - Open Transactions, open connections, close connections, commit, send > It appears these leaks are sustained as long as you keep closing and opening > sessions. > OpenWire: > - The leak here is not as critical as in AMQP, but a short term leak was > found while investigating the AMQP issue. (the AMQP connection would be > released after a TTL Timeout). > To Validate this, I'm creating a new test suite: > ./tests/leak-tests > Which will use https://github.com/check-leak/check-leak to validate the > survival of these objects. -- This message was sent by Atlassian Jira (v8.20.10#820010)