You are viewing a plain text version of this content. The canonical link for it is here.
Posted to server-dev@james.apache.org by "Benoit Tellier (Jira)" <se...@james.apache.org> on 2022/05/05 07:26:00 UTC
[jira] [Commented] (JAMES-3760) MailRepositoryContract is not cleaning the created Mails
[ https://issues.apache.org/jira/browse/JAMES-3760?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17532104#comment-17532104 ]
Benoit Tellier commented on JAMES-3760:
---------------------------------------
Similar issues happens for mailqueue contracts. Many more places in tests ight be concerned.
Also in memory data strucutres (memory mail queue, memory mail repository would be considered as a leak)
> MailRepositoryContract is not cleaning the created Mails
> --------------------------------------------------------
>
> Key: JAMES-3760
> URL: https://issues.apache.org/jira/browse/JAMES-3760
> Project: James Server
> Issue Type: Bug
> Components: tests
> Affects Versions: master
> Reporter: Matthieu Baechler
> Priority: Minor
>
> Once https://issues.apache.org/jira/browse/JAMES-3759 is fixed, a lot of leaks are detected when runningĀ
> {code:java}
> MailRepositoryContract{code}
> The root cause isĀ
> {noformat}
> createMail{noformat}
> generates MailImpl instances which need to be disposed
--
This message was sent by Atlassian Jira
(v8.20.7#820007)
---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org