Now measures memory use and outputs html table