pyuvdata icon indicating copy to clipboard operation
pyuvdata copied to clipboard

Estimate memory footprint for UVBased objects

Open mkolopanis opened this issue 4 years ago • 0 comments

It would be nice to have a property (probably on UVBase) that would iterate through all the parameters on an object to estimate its memory footprint. This should be trivial for anything that is a numpy array (or subclass) or scalar. Other python built-ins like list and dict get a bit more complicated. We could follow something like is in this stackoverflow post if we wanted to include those too .

mkolopanis avatar Jan 28 '21 18:01 mkolopanis