Skip to content

Slight improvement to memory usage for guess - #2880

Merged
astrofrog merged 1 commit into
astropy:masterfrom
embray:io.ascii/guess-improvement
Sep 6, 2014
Merged

astrofrog merged 1 commit into
astropy:masterfrom
embray:io.ascii/guess-improvement

Conversation

@embray

@embray embray commented Aug 20, 2014

Copy link
Copy Markdown
Member

When a reader results in a Table object (that is nonetheless invalid) delete the local reference to that Table as soon as we don't need it anymore. That will immediately allow memory to be freed up for the next reader(s) to do their parsing.

This came up in #2877, and while it does not solve #2877 it will lessen the impact.

@hamogu

hamogu commented Aug 25, 2014

Copy link
Copy Markdown
Member

Looks good to me. @taldcroft ?

@taldcroft

Copy link
Copy Markdown
Member

Looks good to me.

astrofrog added a commit that referenced this pull request Sep 6, 2014
Slight improvement to memory usage for guess
@astrofrog
astrofrog merged commit f232e05 into astropy:master Sep 6, 2014
@embray
embray deleted the io.ascii/guess-improvement branch September 8, 2014 15:43
astrofrog added a commit that referenced this pull request Sep 18, 2014
Slight improvement to memory usage for guess
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants