Investigate potential memory leak
This MR contains several changes and a new test to investigate a suspected memory leak. While the memory was not detected, the changes could still be included in the repository.
What is changed:
- Update auxiliary memory diagnostic routines to be more usefull/reliable
- Added new test-api-memory.x (test for memory leaks after an imaging cycle)
- Make
Proxy::get_grid
consistent withProxy::get_final_grid
: return ashared_ptr<Grid>
- Use
shared_ptr<Array4D>
instead ofcomplex<float>*
for them_average_beam
Edited by Bram Veenboer