[
https://issues.apache.org/jira/browse/MINIFICPP-1220?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Marton Szasz updated MINIFICPP-1220:
------------------------------------
Fix Version/s: (was: 0.8.0)
0.9.0
> Memory leak in CWEL
> -------------------
>
> Key: MINIFICPP-1220
> URL: https://issues.apache.org/jira/browse/MINIFICPP-1220
> Project: Apache NiFi MiNiFi C++
> Issue Type: Bug
> Reporter: Marton Szasz
> Assignee: Marton Szasz
> Priority: Major
> Fix For: 0.9.0
>
> Time Spent: 10m
> Remaining Estimate: 0h
>
> Memory usage of minifi-cpp on windows increases gradually when using
> ConsumeWindowsEventLog, with more frequent scheduling triggering faster
> memory leak.
> The main issue seems to be double event creation in
> Bookmark::getBookmarkHandleFromXML and leaking one of them.
> The fix I'm about to submit changes the code to use unique_ptr for event
> ownership handling, reducing the risk of similar bugs in the future.
> Part of the credit goes to [~aboda] as we found the cause independently.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)