added memory usage and threads