codice / ddf

DDF Distributed Data Framework - an open source, modular integration framework.
http://ddf.codice.org
Other
132 stars 181 forks source link

2.25.x address download status info memory leak #6752

Closed tslockhart closed 1 year ago

tslockhart commented 1 year ago

What does this PR do?

Removes entries from the downloaders map inside of DownloadStatusInfoImple.java in the cleanupAfterDownload method call from ReliableResourceDownloader.

Whatever gets merged from this PR should go into release/2.15.x as well.

Who is reviewing it?

@dcruver @pklinef @middlets719 @jhunzik @figliold @mcalcote @rzwiefel @stustison @kcwire @djblue @emmberk @mojogitoverhere @rodgersh @oconnormi @coyotesqrl @cmthom10 @lessarderic

Ask 2 committers to review/merge the PR and tag them here.

@pklinef @figliold

How should this be tested?

Contact me privately for steps for testing.

Any background context you want to provide?

My project ran into a case where it was reported that the container running ddf would eventually crash due to the main process throwing an OutOfMemoryError. I was able to replicate the problem and upon inspecting the heap afterwards found that the entries downloaders map inside of DownloadStatusInfoImple.java were never being removed. This occurred in 2.15.x and 2.25.x.

Checklist:

Review Comment Legend:

CLAassistant commented 1 year ago

CLA assistant check
All committers have signed the CLA.

cxbot commented 1 year ago

Can one of the admins verify this patch?

mcalcote commented 1 year ago

build now

cxddfbot commented 1 year ago

Internal build has been started, your results will be available at build completion.

cxddfbot commented 1 year ago

Build SUCCESS See the job results in legacy Jenkins UI or in Blue Ocean UI.

mcalcote commented 1 year ago

build now

pklinef commented 1 year ago

build now

cxddfbot commented 1 year ago

Internal build has been started, your results will be available at build completion.

cxddfbot commented 1 year ago

Build SUCCESS See the job results in legacy Jenkins UI or in Blue Ocean UI.