Some instrumentation in the IB for debugging memory use