Added memory usage and bandwidth calculation