Add a generic 'capacity_in_bytes' function to allow inspection of memory usage of...