Skip to content

BUG: Properly clean up on del #279

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Feb 3, 2020
Merged

BUG: Properly clean up on del #279

merged 1 commit into from
Feb 3, 2020

Conversation

larsoner
Copy link
Contributor

This should fix a bug @drammock hit where memory consumption crept up with multiple fig use and mlab.options.offscreen=True. Basically we should make sure we close the figures we create, since the offscreen ones can stay open and consume memory.

@codecov
Copy link

codecov bot commented Dec 10, 2019

Codecov Report

Merging #279 into master will increase coverage by 0.13%.
The diff coverage is 50%.

@@            Coverage Diff             @@
##           master     #279      +/-   ##
==========================================
+ Coverage   74.31%   74.45%   +0.13%     
==========================================
  Files           7        7              
  Lines        2570     2568       -2     
  Branches      514      513       -1     
==========================================
+ Hits         1910     1912       +2     
+ Misses        482      480       -2     
+ Partials      178      176       -2

@mwaskom
Copy link
Member

mwaskom commented Feb 3, 2020

This looks fine, but has @drammock confirmed that it works? I don’t see a linked issue.

@drammock
Copy link

drammock commented Feb 3, 2020

Sorry. Yes, confirmed. I probably did so in slack or in a private repo and forgot to report back here.

@mwaskom mwaskom merged commit 3692eb4 into nipy:master Feb 3, 2020
@mwaskom
Copy link
Member

mwaskom commented Feb 3, 2020

Great, thanks @drammock

@larsoner larsoner deleted the cleanup branch February 3, 2020 15:34
@larsoner larsoner mentioned this pull request Feb 7, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants