AllenInstitute / AllenSDK

code for reading and processing Allen Institute for Brain Science data
https://allensdk.readthedocs.io/en/latest/
Other
344 stars 150 forks source link

Investigate manual garbage collection of DataObjects #2460

Closed danielsf closed 2 years ago

danielsf commented 2 years ago

In support #2420 and #2421

Look into whether we can fix the memory error reported in #2420 by adding some "manual" garbage collection functionality to the DataObject base class.

This issue is time-boxed to 1 day.

aamster commented 2 years ago

Cannot be added without some additional class that handles reading from nwb files in a for loop. __del__ is not triggered when variable reference changes during the for loop.