You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@nifi.apache.org by "Pierre Villard (Jira)" <ji...@apache.org> on 2025/12/23 10:17:00 UTC
[jira] [Resolved] (NIFI-15372) Ensure DBCP Driver is deregistered to prevent MemoryLeak
[ https://issues.apache.org/jira/browse/NIFI-15372?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Pierre Villard resolved NIFI-15372.
-----------------------------------
Fix Version/s: 2.8.0
Assignee: Bob Paulin
Resolution: Fixed
> 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
> Assignee: Bob Paulin
> Priority: Major
> Fix For: 2.8.0
>
> 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)