[
https://issues.apache.org/jira/browse/NIFI-15372?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18047223#comment-18047223
]
ASF subversion and git services commented on NIFI-15372:
--------------------------------------------------------
Commit c96c958a57c8b04587179f01fb8d2ae461117a15 in nifi's branch
refs/heads/main from Bob Paulin
[ https://gitbox.apache.org/repos/asf?p=nifi.git;h=c96c958a57 ]
NIFI-15372: Ensure Driver is Deregistered when DBCP Service is removed.
Signed-off-by: Pierre Villard <[email protected]>
This closes #10670.
> Ensure DBCP Driver is deregistered to prevent MemoryLeak
> --------------------------------------------------------
>
> Key: NIFI-15372
> URL: https://issues.apache.org/jira/browse/NIFI-15372
> Project: Apache NiFi
> Issue Type: Bug
> Reporter: Bob Paulin
> Priority: Major
> Time Spent: 1h 50m
> Remaining Estimate: 0h
>
> When the DBCPConnectionService Registers a Driver it gets added to the
> DriverManager which exists in the System Classloader. This will prevent the
> InstanceClassLoader that the DBCPConnectionService is running in from being
> Garbage Collected.
> The Driver should be deregistered onRemove to prevent this leak.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)