pyfits memory leak in new_table

28Mar11

I found a memory leakage issue in pyfits.new_table, data were NOT deleted when the table was deleted, I prepared a test on github, using objgraph, which shows that data are still in memory:
https://gist.github.com/884298

the issue was solved by Erik Bray of STSCI on March 28th, 2011 , see bug report:
http://trac6.assembla.com/pyfits/ticket/49
and changeset:
http://trac6.assembla.com/pyfits/changeset/844



One Response to “pyfits memory leak in new_table”

  1. 1 adrian

    Nice, I just spent 2 days debugging a memory leak in some software I have, and it turns out it was Pyfits all along!


Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Connecting to %s


Follow

Get every new post delivered to your Inbox.